How to pull Jira Labels into my confiform....

Nat Grauman June 23, 2024

Hi!

I'm struggling to pull in the Labels from my Jira issue. The JSON indicates that the field name is simply "Labels"

"customfield_22040": 0,

"customfield_13212": null,

"customfield_36109": null,

"labels": [ "mylabel1", "mylabel2", "mylabel3" ]

And in my ‘ConfiForms Rules for Field Definition’ Macro in the "Values to set" field I have:

JiraLabels=[entry.JiraID.fields.labels.name] ...but still nothing. Any ideas?

1 answer

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2024

What is your field type for "JiraLabels" field in ConfiForms? Screenshot 2024-06-25 at 11.47.15.png

Something like this (directly through the Jira issue key)

(.name is incorrect, as labels is an array... and there is no "name" property)

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events