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
Community Members
Community Events
Community Groups

How to update the status value using groovy script

Hi Team,

I am using Jira DC v8.20.21. One our client request to auto close the ticket after certain time period. 


if story status marked as "Ready for Delivery" after 15 days automatically close the ticket.

So how to update the "Status" value as "Close" by using groovy script.

Kindly anyone help on this to develop the code  


Thanks and Regards


1 answer

0 votes

Status is not really a field, it's a view of where an issue is in the process (workflow).

You can't "set" a status at any time other than creating a new issue.  You have to move issues through the workflow, so that they take new status from your process.

There's a few examples of scripts that can do this at

Hi Nic Brough _Adaptavist

Thank you for your response. Let me check as per your input.

Thanks and Regards


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events