Forums

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

Automation Rule on Issue Create limit by issue type

Ann Rumenapp
Contributor
February 2, 2023

I wrote an automation rule triggered by issue creation to default the Team field value.  I want this rule to run on issue types of story, task,& bug; however I do not want team field to default on issue types of risk, issue or decision.  Is this possible?

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
February 2, 2023

Yes, that is possible. All you need to do is add an condition that checks the issue type. If the issue type is not part of the list the automation will not proceed past that step.

Ann Rumenapp
Contributor
February 3, 2023

I tried to add a condition, but it doesn't work. Between the Issue Create and Setting the field.  The condition I used was 'If issue matches JQL' wtih the JQL of issuetype in (Story, Bug, Task, Spike, Sub-task, "Dependency Task", "SecurityRisk", "Technical Debt", Improvement, "Production Support"). 

When I create a story the team field does not get set.  Can you tell me what condition I should use?

Mikael Sandberg
Community Champion
February 3, 2023

That condition looks correct. If you look at the audit log, what does is say? Does it pass the condition?

Ann Rumenapp
Contributor
February 3, 2023

Found it - That audit log is awesome, 

Like # people like this

Suggest an answer

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

Atlassian Community Events