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.
Why?
If you only want to have one status it's easiest to create a workflow with one status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had not thought of that. I assumed that we were talking about an already existing workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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" http://jira.example.com/jira/rest/api/latest/issue/TEST-1 (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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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" http://jira.example.com/jira/rest/api/latest/issue/
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" http://jira.example.com/jira/rest/api/latest/issue/TEST-2/transitions
Adapt the above example and put both lines in a cron schedule and you are done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agree with Jobin. I used the free version of "SR Escalation Service" for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.