Forums

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

My Automation rule executes properly but there are errors

Kenisha Naidoo November 1, 2024

Hi Everyone, hope all is well. I am new to Jira so still learning how everything works and would appreciate some help.

 

I have created an automation rule where if a summary contains a certain value, different subtasks have to be created. The rule works in the sense that the subtasks get created accordingly, but when the subtask transitions to a different status i.e. Open to Ready for QA, I get this error message in the audit log: 

Error.PNG

This is the rule:
Rule.PNG

The subtasks do follow the same workflow as the parent so I am not sure if I have potentially missed a step in that regard when building the rule?

 

Would appreciate any assistance.

 

Thanks!

 

 

2 answers

2 accepted

3 votes
Answer accepted
Marc - Devoteam
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.
November 1, 2024

Hi @Kenisha Naidoo 

Welcome to the community.

Add a condition in your rule that checks  if the transitioned issue is not a sub task.

Add this directly after the rule trigger.

Use the "Issue Field condition" set like issue type is not sub-task

Kenisha Naidoo November 3, 2024

Hi @Marc - Devoteam , thank you so much. The solution provided worked on the rule. Thanks again!

1 vote
Answer accepted
Tansu Akdeniz
Community Champion
November 1, 2024

Hi @Kenisha Naidoo 

Welcome to the community.

If parent/sub has same workflow and you want to run this rule on parent (so that subs can be created), please add a condition after "When: Issue transitioned".

Sample condition: Issuetype = xxx

So, you ensure that automation only runs for certain types, not for irrelevant types.

Kenisha Naidoo November 3, 2024

Hi @Tansu Akdeniz , thank you. The above did assist me.

Suggest an answer

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

Atlassian Community Events