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

How to get Server details dynamicaaly in calculated value script

Hello Team

I have a calculated value script  like below :


var workitemId = workItem.getValue(WorkItemAttributes.ID);

var hardcodedValue = '{{https://rb-alm-40-p.de.bosch.com/ccm/web/projects/PlayGround#action=com.ibm.team.dashboard.viewDashboard&tab=_10&story_id=';

var finalString = hardcode + workitemId + ' | Fill PDC }}';

Now My use case is the above code should work on any server if i import the template, So how I can dynamically get the server information(highlighted in bold below ) in this calculated values script ?

var hardcodedValue = '{{https://rb-alm-40-p.de.bosch.com/ccm/web/projects/PlayGround#action=com.ibm.team.dashboard.viewDashboard&tab=_10&story_id=';

Thank you


0 votes


Be the first one to answer this question!

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
× 10,936
× 1,700

Question asked: Apr 13 '20, 7:04 a.m.

Question was seen: 1,135 times

Last updated: Apr 13 '20, 7:04 a.m.

Confirmation Cancel Confirm