Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Disallow transition for 24 hours

Ron Lindstrom
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2021

Summary - Looking to restrict issues from a single project from being transitioned from one status to another for 24 hours.

 

More Color -

Team members are deploying requests (status = Deployed) and then immediately closing the ticket (status = Closed).  Aside from being bad practice this results in others providing feedback on the deployed ticket causing the ticket to be reopened.  

So I'm looking for a way to prevent the transition to Closed from happening for 24 hours past the time it was deployed.

I put the transition time in a custom field but I cannot figure out the scripting portion for the workflow transition to use.

 

Any/all help is appreciated.

1 answer

0 votes
Niranjan
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.
July 7, 2021

Hi @Ron Lindstrom , While your requirement is tricky it is equally complex. If I were you, I would make it less complex, by restricting the close transition and limiting the project lead to perform a bulk update the next day.

Another solution that I could think of is to automate transition issues using restapi script. 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post

Ron Lindstrom
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 13, 2021

Thanks for the response.  Neither of those are what I'm hoping to achieve sadly.

Anybody can transition the ticket to Closed, I just want to make sure the previous status has been there for 24 hours first.

Suggest an answer

Log in or Sign up to answer