I'm trying to get a URL field to populate based on the values of another custom field (AzureDevOpsID)
The code I'm using is
"https://tfs.prd.xxxxx.com/xxxxxx/xxxxx/_workitems/edit/" + {{issue.fields."AzureDevOpsID"}}
and returns
(Specify a valid URL for the Custom Field (customfield_10050))
Hello @Brian Gauthier
If customfield_10050 is the one which should store the URL, you will need to use:
https://tfs.prd.xxxxx.com/xxxxxx/xxxxx/_workitems/edit/{{issue.fields.AzureDevOpsID}}
the fields attribute is optional, you could as well use
https://tfs.prd.xxxxx.com/xxxxxx/xxxxx/_workitems/edit/{{issue.AzureDevOpsID}}
But before you set the field to the URL, first log {{issue.AzureDevOpsID}} value so you know its correct and has no typos etc.
Thank you. That was similar to my original attempt, but the quotation marks around it was causing the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please confirm and let us know if issues.. Also if issue is resolved, please consider marking answers as accepted so others can benefit in future when researching.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.