It's all about the answers!

Ask a question

How to get Server details dynamicaaly in calculated value script


vinitha dsouza (147223136) | asked Apr 13 '20, 7:04 a.m.
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


Be the first one to answer this question!


Register or 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.