Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I have automation add a label when a specific issue type is changed to something else?

Scrilla
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 25, 2023

I am looking to add a label to a card when the issue type changes (is moved) from a feature request type into an epic/story. But I don't know how to check if it was a feature request type prior to the trigger (the issue type field change).

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
January 25, 2023

Does this work?

Create two rules:

  1. Feature Request created
    • Trigger - issue created
    • Condition - type = Feature request'
    • Action - edit issue and add label "FeatReq"
  2. Issuetype Changed

2023-01-25_12-01-29.jpg

Jack Brickey
Community Champion
January 25, 2023

Oh...forgot to add condition in second rule to check if Labels contains FeatReq

Scrilla
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2023

Thanks Jack, 

I ended up having a required field of which team the requester is apart of on the feature request screen, and using that as the condition for when the issue type changes to add the label. It works only because that field isn't on any other type, so doesn't run the risk of not being empty for the other issue types.

 

Screen Shot 2023-01-27 at 12.22.28 PM.png

Suggest an answer

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

Atlassian Community Events