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,368,351
Community Members
 
Community Events
168
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. 

Eg:

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

Peruma.C

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 https://library.adaptavist.com/search?term=transition

Hi Nic Brough _Adaptavist

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

Thanks and Regards

Peruma.C

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events