Forums

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

The automation rule is not working correctly

Sandip Bhosale November 7, 2023
Hi,
"The automation rule is not working correctly. Point 1: The same rule is used in two transitions, but it only adds a comment in the first transition and doesn't send notifications to watchers and reporters as specified in the notification scheme. Point 2: In the second transition, it adds a comment and sends notifications properly.
Jira Version 7.1.2
Automation Rule.JPGworkflow 2.JPGworkflow 1.JPGOnhold.JPGNotification.JPG

2 answers

1 vote
Kavitha Chandrasekaran
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 7, 2023

Debug steps:

Step 1) Check if the Watchers/Reporters in Point 1 disabled the notifications in personal setting?

 

Could you post the automation rule and workflow picture with the transition? 

0 votes
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.
November 8, 2023

Hi @Sandip Bhosale -- Welcome to the Atlassian Community!

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

 

Until we see those...

What problem are you trying to solve with this rule?  That is, what does it do and why do you need it?  Knowing those things will help the community offer better suggestions.

The symptom you describe seems to indicate the rule has incorrect conditional logic, possibly using a basic condition when you wanted to use an if/else structure.  Seeing the rule will help to confirm that.

 

Kind regards,
Bill

Sandip Bhosale November 23, 2023

Attached screenshot please check

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.
November 24, 2023

You describe wanting the action of adding the comment on issue transition to another status, but the rule is triggered on a scheduled trigger.

Have you considered using the Issue Transitioned trigger instead?  Or are you instead wanting this rule to trigger when a transition has not occurred

 

Please post images for both rules showing the audit log details, showing the rule execution when it did not work as you expected.  Those will provide context for which issues were processed and the actions taken.

 

Also, it appears you have changed the rule actors from Automation for Jira to Jira Administrator.  Why was that change made? Changing the rule actor can cause actions to not work / fail when the actor does not have the necessary permissions.

Suggest an answer

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

Atlassian Community Events