You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
We are looking to auto populate the label field with the value from a custom field using the JIRA built in project automation. Does anyone know how to do this? The custom field is variable so it would be filling out that field then that field would populate the label.
In your rule add "Edit issue field" action and in the additional fields use this JSON.
{
"fields": {
"labels": [
{{#issue.labels}}"{{.}}", {{/}}
"{{issue.Custom Field.value}}"
]
}
}
This will append custom field value to existing labels. Make sure the value is valid so label can accept it.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Automatically populate the Labels field: We would like to have the "Labels" field automatically populated with the value "In-Progress", when a story is moved into the Analysis column. The label should be added to any other values which are previously there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ravi Sagar _Sparxsys_ - would it be possible to make it remove the label once it is removed manually from the custom field? Could that be added to this JSON or a separate automation would be needed? How could this be done?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.