Forums

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

Global Automation failing

Deleted user February 22, 2023

Hi,

I did search around and was not able to find any other global automation issues that were close to mine, not to say that this is unique.

This was built so that when a comment is added to a software project, and it has a link "is cloned by" a service project then it should add a note to the service project that is was cloned from. So, when I add a comment to the software project nothing happens.

Now, if I move the "Then" statement to the original branch, it does duplicate the comment on the software ticket. (see below)

rules.png

 

The rule actor is not listed in the permissions on the software project, yet it is still able to add the comment. I did give the rule actor the permission to add comments on the service project even though I don't think that is necessary. 

Please assist, I'm not sure where my logic is breaking here. Hoping that someone will see an easy fix for this one.

Thanks in advance!

 

Global Auto.png

One more thing to add here. I was using just the {{comment.body}} in my testing as well and that failed also. Just in case someone thinks that the {{issue.key}}: might be the issue and will not show up correctly on the service project as a link.

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
February 22, 2023

Hello @[deleted] 

I think you might have the wrong type of link specified in your branch.

When you are looking at the Software issue, in the Linked Issues section is the Service issue listed under the heading "is cloned by" or under the heading "clones"? Your branch needs to specify the same thing as that heading for the Link Types.

Another valuable tool in debugging Automation Rules is to look at the Audit Log for the rule. There will be an entry there for each execution of the rule. You can show the details for the entry to learn more about which steps were executed and which comparisons succeeded/failed.

Deleted user February 22, 2023

You are a genius! Thank you! All is working correctly!

Like Trudy Claspill likes this

Suggest an answer

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

Atlassian Community Events