Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation rule to prevent logging hours after 10 days.

Right now Users logg hours into closed issues and management don´t want to allow that anymore.

I know that I can edit the "closed" status to and that will not allow them anymnore to log hours, but management wants that they could log hours in closed issue only 10 days after issue is closed . After those 10 days they won´t be able to do it . (yeah souns crazy but it´s what they want) 

I know that there are automation rules,  and I have this simple query that can be applied to what I want with:

project = XYZ AND status = Closed AND updated <= -10d

Then: add -> in closed status.


but I don´t find the Correct Action to Edit Status. The Edit issue option only allows to edit fields inside the ticket but I don´t see the "log hours" part.

Is this possible to be done in another way?



1 answer

1 vote
Fabian Lim Community Leader Dec 24, 2021


  1. The only way I could think of is using script runner and putting this code in a transition status postfuntion. Create a new transition that is hidden from the user and it calls itself (
  2. Then add the following code:
  3. Then use "Schedule" Trigger to execute the automation with the jql above that transitions the hidden status. 

I hope this hleps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

596 views 5 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you