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, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events