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

Script for automatically re-opening tickets the 1st of every month Edited

Daniel Mendes Jan 02, 2018

 Hi!

I need assistance with a custom script for the following condition:

-automatically re-open a specific ticket 'Test-1' for the 'TEST' project every 1st of each month;

-the ticket has to transition from 'Closed' status to 'Pending BA' status every 1st of each month;

-this has to only apply to that one specific ticket.

 

I already have the periodicity covered by using a new service on the groovy class. However, I am clueless about writing the script to achieve the rest.

Any help with the script would be greatly appreciated. Thanks.

Daniel

1 comment

Steven Behnke Community Leader Jan 02, 2018

Hi Daniel. I moved your post because it was more of a Jira related thing, though I now realize this really belongs in the Questions area... Still getting used to this software. :)

You mention Groovy: Do you have the Scriptrunner add-on? The Escalation Service Built-in Script should be able to do this, no code required.

Daniel Mendes Jan 03, 2018

Hi Steven! Just to double-check, is this the CRON expression I should be using?

0 0 0 1 JAN-DEC ? *

Thanks.

Steven Behnke Community Leader Jan 03, 2018

That does indeed look correct to me.

Daniel Mendes Jan 03, 2018

Ok thanks.

Comment

Log in or Sign up to comment
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,683 views 6 15
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