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 }}';
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