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

How do I schedule the automatic creation of a Jira ticket?


Before posting, I searched on scheduling and cron and only noticed results which came back for scheduling reports or this link ( which didn't get answered because the author didn't provide actionable information.

My question is how does one schedule the automation creation of Jira tickets?

More specifically, on 1 Jan, 1 Apr, 1 July, and 1 Oct I want to a ticket preloaded with some instructions to be created and sent to a specified user.  How can I make this happen?

We're not on Jira cloud yet.  Does Jira have some kind of cron feature or ticket scheduler?


1 answer

1 accepted

2 votes
Answer accepted

You need two things here as a minimum.  One is a trigger (when should this thing be done) and the other the action (what to do when triggered)

There are a load of ways of pairing these two things together and using it with Jira, so your answer is really going to be about the best way to do it for yourself.

  • Completely external to Jira, I've used a simple bash script that creates a new issue over the REST API (actually, I used to do this with SOAP before we had a REST API, and I do it a lot less now we have more options).  Obviously, a bash script is for a *nix box, which is unlikely not to have Cron on it!
  • Other end of the scale, all done inside Jira - write a service for Jira.   Services can now be set to run on an internal Cron
  • Add the Automation app, it has a "schedule" trigger and a "create issue" action.
  • Add Scriptrunner, you can write services in that, and use the internal cron.
  • and, and, and.

As you mention Cloud, I suspect the Automation may well be the best option - Automation is built into Cloud, so moving your cron/create config becomes trivial when you move over to Cloud.

Wow!  Thanks @Nic Brough _Adaptavist_ ; amazing answer!

Some follow ups if you don't mind.  When you mention:

> Add the Automation app that this:

Also, do you have any experience with this:

I couldn't make heads or tails of what that does.  The readme isn't that detailed.

Suggest an answer

Log in or Sign up to answer

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