Forums

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

Automation works on one project and does't on the other project.

Mohamed M. El-Zalabany
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!
June 3, 2024

I had this sub-task builder automation rule (On create issue, 3 branches: if issue type equals bug, if issue type equals task, and if issue type equals story) working fine on my company-managed project. When I decided the rule to go global to my other team-managed project, I found out that sub-tasks are not created.

No errors. But also no sub-tasks are created.

When I checked the audit log, I found out that No actions performed, because no condition were met! I thought maybe the bug or story issue type in the other project is different, so I tried to add another bug or story issue types but I found none.

The issue now that I create 2 bugs, bug 1 in project 1 and bug 2 in project 2. Automation sees that bug 1 in project 1 meets the issue type equals bug condition, while the other project sees that the issue type equals bug condition is not met.

 

Any thoughts?

2 answers

1 accepted

2 votes
Answer accepted
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.
June 3, 2024

Hi @Mohamed M_ El-Zalabany -- Welcome to the Atlassian Community!

The issue types (and other configurations) for a team-managed project are unique for each project. 

As you saw in the audit log, the issue type conditions were not met.  This is because they used the id value for the issue types when the rule was created and so did not match the different id for the team-managed project.  And...even if you changed your rule to compare by the id values, the Issue Create actions may not work because of type mismatches between the projects.

Kind regards,
Bill

Mohamed M. El-Zalabany
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!
June 3, 2024

That solved it. I created the same rule on the team-managed project from scratch and it worked. Thanks.

Like Bill Sheboy likes this
0 votes
John Funk
Community Champion
June 3, 2024

Hi Mohamed - Welcome to the Atlassian Community!

Can you please share a screenshot of your rule? 

Suggest an answer

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

Atlassian Community Events