We have a labels type custom field called Market. I am trying to copy from labels to market. I have tried this method:
and I tried ..
{
"fields": {
"customfield_12501": {{triggerIssue.labels}}
}
}
when i add a log statement for issue market: {{triggerIssue.Market}} only a blank is returned.
How can I access this field?
Hi @Diane Fahr
The labels field is a list of values, so perhaps trying converting it into a JSON array first, like this:
{
"fields": {
"customfield_12501": {{triggerIssue.labels.asJsonStringArray}}
}
}
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.