It's all about the answers!

Ask a question

How to get Server details dynamicaaly in calculated value script

vinitha dsouza (1451794) | 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.