Auto Create a closed issue


How can I auto create a closed issue every 11 weeks and assign it to specific engineer?

Thank you!

5 answers

2 votes

You need to write a script or scheduled task that can do this. And you might also want to consider reopening the issue (if that makes sense). Even that will need a script or scheduled task.

1 vote


If you only want to have one status it's easiest to create a workflow with one status

I had not thought of that. I assumed that we were talking about an already existing workflow.

Agree with Jobin. I used the free version of "SR Escalation Service" for this.

One way could be using REST api, invoked from a cron schedule with curl.

You could create the issue with the following curl:

curl -D- -u admin:admin -X POST --data '{"fields":{"project":{"key":"TEST"},"summary":"this is a test","description":"yes, a test","issuetype":{"name":"Task"}}}' -H "Content-Type: application/json"

And then you'll need to do the transitions through the workflow towards the "Done" status

curl -D- -u admin:admin -X POST --data '{"transition": { "id": "21"}}' -H "Content-Type: application/json"

Adapt the above example and put both lines in a cron schedule and you are done


Thank you for all the responses, but I think I could not explain what I need clearly. 

1- I need to create the same issue every 11 weeks.

2- I need to assign this issue to the same user every 11 weeks.

For some reason I cannot response you all when I get your feedbacks, it looks like I have to wait 24 hours every time I post a question!


Thank you for all the help!

Point 1 - the first curl from my previous comment. To change the asignee (point 2): curl -D- -u admin:admin -X PUT --data '{"fields":{"assignee":{"name":"jira_user_name"}}}' -H "Content-Type: application/json" (you need to know the issue key, i.e: TEST-1, so you'll have to extract it from the http response when creating) To do these operations every 11 weeks, you could set a schedule in a crontab.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

892 views 3 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you