I have created one issue with couple of subtasks. Now I want to create this issue type along with subtasks on every month. I have tried to create a automation rule but did not work. Please suggest how I can create a recurring issues with the same set of issue and subtasks within. thanks
If there is no JQL in the scheduled trigger the rule could not reference any issue. (as other rules are often triggered by an issue this issue key then is in the context of {{issue}} for the rule like kinda variable)
I would suggest following approach (built that in my system):
Hope this helps.
Best
Stefan
Thanks @Stefan Salzl I have tried with the Json fields that you have given in the screenshot but it throughs some error. Please look into and suggest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In case anything doesn´t work please consider to document and add screenshots and other docs (like in this case the JSON). This would be necessary and helpful to analyze the problem and find a solution.
Guess there is just some misspelling or some characters missing in the JSON.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stefan Salzl not able to understand what issue exactly is. I have tried by manually creating subtasks for each subtasks as well but it goes to parent ticket from which I am trying to clone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure. That´s the correct behaviour. The "parent" option in the issue´s json will stay the same as the system cannot know by itself where to link the issue. By cloning it copies original issue´s setting (expect they were changed by the automation as made in the suggested approach):
again: if you´d like to go for a solution
please consider to document and add screenshots and other docs (like in this case the JSON). This would be necessary and helpful to analyze the problem and find a solution.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That´s the JSON I used in "clone issue" action for subtasks:
{
"update": {
"labels": [
{
"add": "cloned"
}
],
"issuelinks": [
{
"add": {
"type": {
"name": "Cloners"
},
"outwardIssue": {
"key": "{{issue.key}}"
}
}
}
]
},
"fields":
{
"parent":
{
"key": "{{createdissue.key}}"
}
}
}
In case your rule is exactly configured as suggested above this could be copied to your "clone subtask" action.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much @Stefan Salzl it worked. There was one small difference I did not noticed before. I created new brach instead of main component. Thanks a lot again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.