Forums

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

How can I automatically close Jira issues after sometime with no response.

Vivianne Guillaume
Contributor
October 21, 2024

I would like to for an issue tobe automatically closed in the GOLIVE status if there is no feedback or response.

 

I already created but I do not know how to test it without waiting for 14 days.

2 answers

2 accepted

3 votes
Answer accepted
Tomislav Tobijas
Community Champion
October 21, 2024

Hi Vivianne,

As this is a similar topic to the one raised earlier, here's the link to another question that might give you some insights: https://community.atlassian.com/t5/Jira-Service-Management/Auto-close-ticket-if-no-response-in-7-days-and-reopen-if-replied/qaq-p/2845681

Cheers,
Tom

Vivianne Guillaume
Contributor
October 21, 2024

Thank you @Tomislav Tobijas , I appreciate your suggestions.

 

Like Tomislav Tobijas likes this
2 votes
Answer accepted
Tobias H
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.
October 21, 2024

Hi @Vivianne Guillaume and welcome to the community!

If you have already created an automation using the "Scheduled"-trigger and you wish to fire of the automation without having to wait 14 days, as you already have issues matching the criteria?

For all automations with scheduled triggers, you can find a "Run now" action from the three dots in the top right corner.

Screenshot 2024-10-21 120448.png

Hope that helps! 

Best, Tobias

Rilwan Ahmed
Community Champion
October 21, 2024

@Vivianne Guillaume ,

Welcome to the community !!

As suggested by @Tobias H , make use of scheduled trigger and run now option from it.
 But make sure you try in a small bunch of tickets first. i.e. in JQL condition, instead of giving whole JQL, give something like issuekey = ABC-1, so that automation runs only on one ticket. 

Like Susan Waldrip likes this
Vivianne Guillaume
Contributor
October 21, 2024

Thank you @Rilwan Ahmed@Tomislav Tobijas  and @Tomislav Tobijas

I appreciate your efforts in assisting me with this challenge I am facing. I run the trigger but it shows an error. Below is the error and what my rule looks likeScreenshot 2024-10-21 123934.pngScreenshot 2024-10-21 124311.png

Like # people like this
Tobias H
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.
October 21, 2024

Does the workflow allow for transitions between GoLive and Closed directly?
Either by transition arrows or by Closed allowing any transition to move to it?

Like Susan Waldrip likes this
Vivianne Guillaume
Contributor
October 21, 2024

I believe so. Here is an image of the transition setting.

Screenshot 2024-10-21 125531.png

Like Susan Waldrip likes this
Tobias H
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.
October 21, 2024

In the automation creator you can select any workflow status, it will just end up in an error as it did for you.

Instead, visit one of the failed issues like IT-44 and press the status dropdown and select "View workflow". This should tell you whether it's possible to transition the issues directly or not. (And in case they have different issue types, you'll need to check more than one workflow)

So when you watch an issue (IT-44, for example) in the GoLive status, the Closed status need to be visible in the dropdown.

Otherwise you will need to edit the workflow to include either:
A direct transtion arrow (1) between GoLive and Closed
Or an Any transition (2) on Closed to allow everything to transition to it

Screenshot 2024-10-21 130155.pngScreenshot 2024-10-21 130426.png

Like Susan Waldrip likes this
Vivianne Guillaume
Contributor
October 21, 2024

So I saw that all the ones with Golive are completed and the closed status is not visible in the dropdown for either those or the ones that a still in either in final approval, open, and waiting for support. The issue I actually wanted to use for the test run is still in final approval stage. 

Do I wait until there is another in Golive before I can check whether is has the closed status visible in the dropdown?

I appreciate you so much for your direction, patience and assistance. 

Like Susan Waldrip likes this
Tobias H
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.
October 21, 2024

If you don't have anything to check on in the GoLive status right now, you can go into any of the issues that share the same issue type and press "View Workflow".

If you can see "Any" next to Closed, or an arrow going from GoLive to Closed, then you'll know that the transition is possible.

And my pleasure, we'll figure this out together! :D

Vivianne Guillaume
Contributor
October 21, 2024

I have checked, there is neither "Any",  "Closed" nor arrow going from GoLive to Closed.

I appreciate it :)Screenshot 2024-10-21 135041.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events