The trigger issue is the creation of an issue type called Initiative.
Upon creation of this issue type, I aim to create four epics and within each epic, four unique stories. Those stories must be a child issue of their respective epics. The problem I am having is I cannot find a way to link the story to the epic when it is under a branch. It is always linking back to the trigger issue (Initiative) or not at all.
I was able to successfully link the epic to the initiative with a JSON command as shown below:
{
"fields": {
"Parent link": "{{triggerissue.key}}"
}
}
Is there a similar command I can use to link these stories to their respective epics?
Alternatively, I am told I can use a lookup function that could switch context to possibly the epic.
All help is appreciated.
Welcome to the Community!!
I expect this is how you want the issues to be created
One thing I have changed is to connect the feature Issue with linked issues relation
Here I have created one feature two epic & two stories
Here is the Rule for your reference
And for Story
Let me know if you have any queries!!
Thanks,
Pramodh
FYI
You need to replicate the Create New Epic Sections and Create New Story 4 times in order to create Issues 4 times
Thanks,
Pramodh
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.
Wait, when I try to create more epics and stories using the same rule pattern, it screws it up. @Pramodh M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is what happens:
I added another epic and and story, and this happened:
Initiative created
Epic #1 created - Linked to inititative
Epic/Story#1 created - but NOT linked to Epic#1
Epic #2 created - Linked to initiative
Epic/Story#2 created - successfully linked to Epic#2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I checked it's working for 4 issues as well, you need to add the rule.
Here's the reference
Now when creating the Epic Issue rule is like this
And when creating a Story, first create a branching condition and then create an issue So the final rule should look like this
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I realized what had happened and the Epic Link field disappeared from the first story for some reason when I was testing this, so I re-inserted it and voila! it worked. Thank you so much! I have another question related to automation but it's an entirely new idea that involves copying a field name from the trigger issue AND adding a new text into it in the same line, but I understand if I have to make a new community post for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure, Please accept the answer and go ahead with a new question on another thread!!
Glad Community is serving so many customers around the world!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Richard Canlas
Can you please check this thread if it helps you https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-can-I-create-a-story-with-an-epic-link-when-an-epic-is/qaq-p/434249
Also a part of logic I was able to achieve see if it is helpful:
In your case this all part should go in same branch.
Result:
Regards,
Vishwas
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.