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
atlassian, team ’25 europe, early bird extension, conference discount, barcelona, hybrid event, AI teamwork, early bird pass, digital access, collaboration conference, atlassian events, register now, developer conference

1 week left to save on your Team '25 Europe pass

Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.

Learn more
AUG Leaders

Atlassian Community Events