Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Canceling tickets automatically opens on a specific or range of days.

Hello Community,

I'm creating an automation to automatically cancel open tickets from the 25th (0:00 am) until the last day of each month, but I can't find a jql filter to search for this.

Can you help me?

2 answers

1 accepted

0 votes
Answer accepted

Hi,

I managed to assemble the automation using the smart value {{now.DayOfMonth}}.

Thank you for your help!

 

Captura de tela de 2021-11-10 12-27-24.png

Hi @Marina Vital ,

I am really curious why you would want to do something like that, but apart from that - I may have a workaround, at least if I understand you correctly.

Using cron scheduling (see this support article) you could create an automation rule that runs on the 25th, 26th, 27th, 28th, ... 31st of every month to close all open issues.

I am assuming that you want to close all open issues on those days. But if I misunderstood, you can still use the scheduled automation rule to extend your JQL filter with relative dates, e.g. something like this:

Project = ABC AND Resolution = Unresolved AND updated <= -14d

 This would select all open issues that weren't updated in the last 14 days - relative to the date on which the automation rule gets triggered. You can of course modify that to suit your specific requirements.

Hope this helps!

Hi @Walter Buggenhout _ACA IT_

 

This automation will run on a project of the Finance team. They only process payment requests between the 1st - 24th of each month. If the supplier opens a ticket on the 25th, for example, we want it to be canceled automatically, without the analyst having to make the transition.

Hi,

I managed to assemble the automation using the smart value {{now.DayOfMonth}}.

Thank you for your help!

 

Captura de tela de 2021-11-10 12-27-24.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,460 views 20 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you