Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there an easy way to move javascript for calculated values and conditions from one project to another?

My team has written numerous javascripts for calculated values and conditions on a test Jazz server.  We need to copy them into another project on another server.  In the configuration for the calculated values and conditions, there is an "Attachment Path" which is /workitem/scripts/common/yourscriptname.js .  Is there a place on the JTS or RTC servers where these javascript files reside?  Can they be easily copied to another server?  Or are they stored somewhere in the Jazz database (in our case, Oracle)?

0 votes


Accepted answer

Permanent link

In the Eclipse client, there is a button next to the script editor that lets you "Save As..." - this will save the scripts as a local copy that can then be loaded into other projects

Janet Charbonneau selected this answer as the correct answer

0 votes

Comments

Yes. The Scripts are also stored as process attachment in the Project Areas process. The whole process can be extracted from the project area, exported and used in new project areas or shared.  

Thanks, Davyd.  That is exactly what I needed!  Ralph, thank you for letting me also know that it is included in the process when exported.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121
× 152

Question asked: May 22 '19, 12:25 p.m.

Question was seen: 1,928 times

Last updated: May 23 '19, 9:09 a.m.

Confirmation Cancel Confirm