Hi All,
I am trying to create an Epic, a couple of stories one of which will have a number of sub-tasks. However I cannot seem to get the right combination of branching/logic etc. to do this. I can create an EPIC, create a Story linked to that Epic but every time I try and create the sub-tasks they appear as sub-tasks of the Epic not the story. Anyone able to help with this please? This is what I currently have after tearing it all up and starting again.
If I understand your question, you are trying to create an epic, its stories, and their sub-tasks together. If that is correct, there are at least two ways to do this: 1 or 2 rules:
I personally recommend the 2-rule option, as branches execute asynchronously and so I would be concerned about timing errors.
Kind regards,
Bill
Thanks for that Bill, much appreciated. I went with the 2 rules approach which worked really well. Kicking myself for not thinking of that myself sooner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad to learn that helped. Please consider marking this question as answered; that will help others in the community with similar ones find solutions faster. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could I get a little more clarity on how this works?
My scenario is I get a person inputted into Jira Service Management from the requestor. This person can be in a pool of people like A, B, C so currently I can do branch for current issue and if/then to create an Epic into an appropriate Jira Project based on A, B, C and that works. Epic is created.
However, I also want to create 1 story as well tied to the Epic. Option 1 looks closest for what I want to do.
Running into an issue branching on JQL = JQL with key = {{createdIssue.key}} whereby it does nothing underneath that (e.g., doesn't create the story).
For the Epic I create it's easy to get values like {{issue.field}} for the Epic, but when it's time for the Story not sure what to do with 'key' as the scope of the Story should come from the Epic or the JSM issue so unsure which I can refer to. Also need to know how to link to the Epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recommend creating a new question for this and including a link to this thread. Otherwise only the people following this older thread will see it.
When you post the question, please post images of your rule and the audit log details showing the execution. That will provide context for the community to offer ideas. Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bill, already solved this one from another post.
{{#createdIssues}}{{key}}{{/}} should be in Epic Link from Story if created just after the Epic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately if want to create 2 stories under an Epic the solution does not work for 2nd story, just the first as #createdIssues changes with each.
I need to create 1 epic, 5 stories, and 3 sub-tasks under one of those stories and of course, only Jira Cloud has ability to create a variable to thread them all. :(
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.