Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,284
Community Members
 
Community Events
184
Community Groups

jira - project automation - add comment if issue is updated and due date has passed when updated

Edited
Gavin
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.
May 18, 2023

I'm having a struggle in doing the following:

Goal:

If an issue is just updated and is not resolve and closed and due date is in the past add a comment.

Issue:

  • I have this kinda working but only triggers if the due date is changed
    • but I'd like it to trigger whenever the issue is updated and it meets the overdue criteria
  • It shows in the audit log that the rule didn't run
  • what am I doing wrong??

JQL

  • status != closed and status != Resolved and due < startOfDay() and due is not EMPTY

Also,

  • I have "Prevent duplicates by only adding this comment once to a particular issue." disabled.

Here's a snapshot of the automation.

issue.png

 

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2023

Hi Gavin,

What did you change that should have updated the issue? And what that change done directly to the issue? Or was it a change to the issue as the result of another rule running that updated the issue? 

Gavin
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.
May 18, 2023

Thanks for the response. 

 

What did you change that should have updated the issue?

> I added a comment

And what that change done directly to the issue?

> yes

Or was it a change to the issue as the result of another rule running that updated the issue? 

> no

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2023

So, that tells me that adding a comment to an issue does amount to "updating" it in Jira's eyes. You would need a second rule that handles those - you should be able to simply copy your existing rule and change the Trigger to Comment added instead of Issue Updated. 

Gavin
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.
May 18, 2023

So does that mean that comment added isn't an issue update?  If so why does the "updated" field show the last comment that was add time time stamp?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2023

I suspect the automation rule is triggering on something else and not the Updated date itself then. But I can't answer that or tell you what constitutes an issue being "updated". I  can just a solution based on the observances you describe. 

Gavin
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.
May 18, 2023

yeah that did work! just a little confusing what is constituted as an update.  Guess there is a distinction between comment and issue update.

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2023

Yeah, to me adding a comment should constitute an update as well. But glad that worked for you!

Suggest an answer

Log in or Sign up to answer