JIRA Plugin - How to programmatically trigger an event when a certain time of day is met/exceeded


I was wondering what would be the best approach programmatically to implement the below:

Every Monday, loop through specific projects and evaluate the last date and time an issue in the "Resolved" state was updated.

If it exceeds a certain value (e.g. 2 weeks of inactivity) transition the issue to "Closed".

Should this be a custom event?

If yes, please advise as to where I can find documentation covering this or a good example would be greatly appreciated.

If not, please detail what other solutions there are?

1 answer

This widget could not be displayed.

you can do this using Jelly scripts, check this document for more information


another way is by using script runner plugin, check this


Thank you for the assistance,

So does this mean that there is no way to do this in Java?

In other words, perhaps create an IssueInactiveEvent that extends an AbstractEvent, add to Jira via some EventManager and then Jira dispatches the event to a listener when the condition is met (If someone does know how to do this, please do chime in).

I just want to know what all the options are before going forward with this :)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

564 views 25 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you