Forums

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

I want to create an automation rule so that the ticket is automatically marked as 'Done' after 48 ho

Soukaina IBALINE
Contributor
December 18, 2024

 

I want to create an automation rule so that the ticket is automatically marked as 'Done' after 48 ho

5 answers

2 accepted

4 votes
Answer accepted
Jack Brickey
Community Champion
December 18, 2024

Hi @Soukaina IBALINE , what are the conditions associated with the rule? I expect you don't want to simply close any issue older than 48h.

conditions aside You might try this. The schedule trigger. Includes a JQL status != done. You might run it hourly or whatever frequency works for you. Adjust as needed.

IMG_4997.jpeg

Soukaina IBALINE
Contributor
December 23, 2024

Nope , I want to close all the tickets that have a statut 'Completed'. And even I did this codition it doesn't work

Capture d’écran 2024-12-23 à 13.32.27.png

 

Thank you 

Manoj Gangwar
Community Champion
December 23, 2024

Try like this> Change the trigger as per your requirement.

Screenshot 2024-12-23 181504.png

2 votes
Answer accepted
Manoj Gangwar
Community Champion
December 18, 2024

Hi @Soukaina IBALINE, You can configure automation and let us know if you are getting any challenges:

Example Configuration:

  • Trigger: Scheduled (every 24 hours)
  • JQL: status != Done AND created <= -48h
  • Action: Transition the issue to Done (or Edit issue status field to Done)

 

Soukaina IBALINE
Contributor
December 18, 2024

Hi @Manoj Gangwar ,

Thank you for your prompt response.

I’ll try it right away and get back to you shortly.

 

1 vote
Dan Breyen
Community Champion
December 18, 2024

Hi @Soukaina IBALINE there are similar automations in the Template Library that you could also use and modify to suit your needs.  I used that for my instance as a template and it's working great!

0 votes
Soukaina IBALINE
Contributor
December 21, 2024

@Manoj Gangwar , @Jack Brickey, @Dan Breyen 

It’s not working for me, and I don't know why . I’ve shared with you all the steps I followed.

Could you please help me figure this out?

Jack Brickey
Community Champion
December 21, 2024

Hi @Soukaina IBALINE , it appears that you accepted Manoj's answer which I think should work. To be clear in your image of your rule please delete the condition component altogether and in your scheduled component at the bottom tick the JQL checkbox and enter created <= -48h and statusCategory != done.

If that does not work please update your screenshots and include the audit log results.

0 votes
Soukaina IBALINE
Contributor
December 21, 2024

Capture d’écran 2024-12-21 à 09.56.21.pngCapture d’écran 2024-12-21 à 09.56.42.pngCapture d’écran 2024-12-21 à 09.56.33.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events