It's all about the answers!

Ask a question

How to get Server details dynamicaaly in calculated value script

vinitha dsouza (14719128) | 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 = '{{';

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 = '{{';

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.