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,551,907
Community Members
 
Community Events
184
Community Groups

Jira automation - copying field values that are updated in to 'Labels' field

Hi, currently Atlassian Analytics does not have 'Team' field as an available filter, so I wanted to create a workaround.

 

Does anyone know how I could create an automation, so that every time the 'Team' field is populated, a label is created in the issue which copies the value present in the 'Team' field.

For example, I update the 'Team' field to team c, then automation kicks in and adds a label to that issue called 'team c'

1 answer

0 votes
Bill Sheboy
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.
May 09, 2023

Hi @tom_thain 

Creating the automation would be simple...the question is will it work: there are (unfortunately) several things called "Team" in Jira Cloud, and I recall they are not all supported by rules.

First thing, I recommend finding an example issue with your Team field set, and then use this how-to article to learn if it is supported by automation rules: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/  This will also tell you the exact syntax for the smart value to access the field.

If it is available, your rule could be something like this:

  • trigger: issue field updated for Team
  • action: edit issue to add a label, based on the Team field

Another possible wrinkle is that not all fields are listed in that trigger.  In this case, you would need a rule with the Issue Updated trigger, and then check the change log to learn if your field changed.

To get you started on creating your rule, please review this documentation and examples:

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events