Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Lable from Custom field value

petro_zubko March 15, 2022

Hi Team. Have a label question. Not sure if it's even possible. I need to create a label from field value. Example: I have a custom field "customer", so when I create an issue and Cusomer=XXX, then lable=XXX

1 answer

1 accepted

0 votes
Answer accepted
Piyush A (STR)
Community Champion
March 15, 2022

Hi,

With your Jira Automation feature. Try with the below:

Try to place that in issue create than issue updates. OR changes to field - value when changed for a customfield.

{
"update": {
"labels": [{
"add": "{{ issue.customfield_10700}}"
}]
}
}

 

Update your customfield id to above.

petro_zubko March 15, 2022

That's exactly what I needed. Thanks, Man

Like Piyush A (STR) likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events