Forums

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

Automation rule

Mihai Mot May 29, 2024

Jira Data Center 

I want to implement the following automation rule:

Trigger: issue created

Condition :

IF issue fields condition (Field = Requesting Project) contains any of "value"

Then it triggers the action : Edit issue fields (Field : Label = "value")

ELSE

IF issue fields condition (Field = Requesting Project) contains any of "value" (other than condition A)

Then it triggers the action : Edit issue fields (Field : Label = "value")

 

Could you please help me with a concrete example?

Thank you

 

2 answers

2 votes
John Funk
Community Champion
May 29, 2024

Hi Mihai - Welcome to the Atlassian Community!

I suggest you give it a shot first and then post a screen shot of your rule if you need assistance. 

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 29, 2024
0 votes
Rilwan Ahmed
Community Champion
May 29, 2024

Hi @Mihai Mot ,

Welcome to the community !!

You should make use of branch rule and JQL condition. 

i.e Select Trigger = Issue created

  • New component = "FOR EACH: Add a branch"
    • Add condition, select JQL condition and goive the required values. Example: I am using field "Access Type" and my condition will be 
      "Access Type[Select List (multiple choices)]" IN (Daily, Permanent)"
    • For THEN Add an action, select Edit issue and select Label (or any field of your requirement) and add value.
  • Now again on Add Component, do the same above config but change the JQL condition and include NOT
    "Access Type[Select List (multiple choices)]" NOT IN  (Daily, Permanent)"

This is how the rule will look.

image.png

  image.png

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, social impact bingo, may it forward, atlassian foundation, community engagement, atlassian community events, atlassian learning, social impact challenge, volunteering, community kudos, atlassian social impact, atlassian community

Come one, come all!

Hey everyone! Are you ready to make a difference? Join the Atlassian Social Impact Bingo event! ❌⭕

Play Bingo! 🙋🏻‍♂️
AUG Leaders

Atlassian Community Events