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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira: add multiple labels based on field selections

Hi all, 

I've been struggling how to automate a particular request. 

When a ticket is created a label is affixed via automation i.e. Agile, Non-Agile. This is working fine however the request is to add additional labels based on Team selected in the ticket. However this is not functioning past the first selection "Video" (screenshot below)

Example: 

Agile ticket created and with the selection of teams 1 and 2 to work on it.

What in theory would be the optimal situation is that if team 1 and 2 is selected and its an Agile ticket, the labels would be "Agile", "Team 1", "Team 2". 

Our automation setup has the specific field values and an action to label the ticket if that selection is made. 

 

Screenshot 2021-01-14 at 21.17.08.png

 

This works for the very first team "Video" but not the other two. Any ideas would be greatly appreciated. 

1 answer

Hi @Daniel Harper 

Just to confirm, are you staying that the field I&B Team can contain multiple values, and that for each specific value found you want to add a label?

If so, you can restructure your rule a bit with additional If/Else conditions and add some Re-fetch.  That will slow the rule down but it should work.  For example:

  • Trigger: I&B Team changes
  • Condition: If/Else field contains Video
    • Action: add the label
    • Action: Re-fetch 
    • nothing for the else clause
  • Condition: If/Else field contains CSL
    • Action: add the label
    • Action: Re-fetch 
    • nothing for the else clause
  • Condition: If/Else field contains Design
    • Action: add the label
    • Action: Re-fetch 
    • nothing for the else clause
  • and so forth...


Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,072 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you