Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,508
Community Members
 
Community Events
184
Community Groups

How to add value from another field into a label field based on a trigger?

Azfar Masut
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.
Jul 03, 2019

I would like to pass a select field value to the label field whenever the select field value is changed. To use jira project automation

1 answer

1 accepted

0 votes
Answer accepted
Azfar Masut
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.
Jul 03, 2019

Resolution

 

Using project automation:

  1. <When value changes> for customfield_10553
  2. <Then: edit issue field>. Leave the choose field option empty and use the advanced function:
{
"update": {
"labels": [
{
"add": "{{issue.customfield_10553.value.remove(" -").replace(" ","_")}}"
}]
}
}

@Azfar Masut - I am trying to set up a rule that will copy a label from a custom field (label type) to Jira Labels field without removing excising labels in that field. I have no problems with this part. However, I then want to have a rule that will also remove the Label copied from the custom field, if it is removed by a user. i.e. if user removes the label from the custom field then the label should be removed from the Labels Jira field.

 

Would you know how to solve this?

Suggest an answer

Log in or Sign up to answer