Forums

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

Automation for Jira - Only include issues that have changed since the last time this rule executed

Harry Bob
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 8, 2020

Hey guys,

I have a question around these checkboxes in Automation for Jira. I have them both checked for a rule I have. Id like some clarification around how it works

 

1. Only include issues that have changed since the last time this rule executed

 

2. Prevent duplicates by only adding this comment once to a particular issue.

 

My runs every morning. If the user has not responded in 2 days the rule posts a comment to remind them to respond. They have 5 days to respond or else it will close off automatically.

 

After day 2 a reiminder comment iss posted. Seeing as a comment has been posted does that mean the issue itself has CHANGED?

 

If the comment is recognised as a change will the comment be added again 2 days later when the rule is run even if option not to post duplicates is selected?

Thank you

1 answer

1 accepted

2 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 10, 2020

Hello @Harry Bob

Thank you for reaching out.

Considering the context you provided, this would be how the rules above will work:

It will not matter if you mark the "Only include issues that have changed since the last time this rule executed" option. Since the rule action (comment) will always update the issues in the JQL, this setting will never exclude any issues.

About the second option (Prevent duplicates by only adding this comment once to a particular issue), it will run a verification method to confirm if the comment was added before in the issue. Basically, if this option is marked, it will block the same comment to be added to the issue once again, independently of any changes performed in the issue previously.

Let us know if you have any questions.

Suggest an answer

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

Atlassian Community Events