Brothers, Sisters I need your help,
Starting point of my scenario:
1. When EPIC goes to DONE I check using Post Function JSU if this EPIC has unresolved stories. If "yes" I put a flag in custom field. So We know that THIS EPIC has unresolved stories
2. Automatically in such scenario I create another EPIC with "linked issue= Continued by" + put and I put EPIC2 ID in custom field of EPIC1 (just to keep traceability. Linking is very soft and users can delete it accidently)
3. Unresolved Story is still linked to EPIC1 (which is Done right now)
GOAL:
When I have this EPIC2 created I need automation which move unresolved Stories from EPIC1 to EPIC2. Sounds simple.
I thought that I can do this like below using BRANCH with Linking Type.
But when i reach automation ACTION I thought there will be option "Epik Link, Copy from"
But looks like I cannot update Stories Epic Link at all with this approach.
Any suggestions how to update STORIES EPIK LINK value from EPIC1 to EPIC2?
@Marc -Devoteam- I understood what was your idea and it looks very clever but after 100 tries i face un-known issue for me
JQL
"Epic Link" = EPICContinuationOfID and issuetype = Story and status in ("to do", "in dev.","In QA.",Analysis.,"Code review.","Ready for QA.","In UAT.")
VARIABLE.Not sure but looks like my VARIABLE is not recognised on step 3. In JQL I cannot use variables? If no then how i can retreive Stories i want to update?
Please advice cause i really have no other clue with this
1. When EPIC2 is created I find my specific EPIC
2. Then using BRANCH and Linking type I am looking for EPIC1 and create Variable with EPIC1 issue key
3. Then again using Branch i wanna find all stories in status "to do" using JQL condition
4. Action edit issue where I PASTE Epik Link new value as a Name of my variable. This Variable is not available on the dropdown list
IT DOESNT WORK so far for me xD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mateusz Janus on the edit you need to set it like {{EpicContinuationOfId}}
Variables need to be set in brackets, it is also mentioned in the create variable action on how to use a variable
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will need find the Epic that is linked to the Epic that triggered the automation.
Then from that linked Epic you need the Epic Link value, store this in a variable and then on the edit action set the Epic Link value with the create variable
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
so instead of PUSHING OUT Stories from EPIC1 i should PULL Stories to EPIC2?
So when EPIC2 is created (trigger) find issue linking (to navigate EPIC1) and then update stories Epik Link value to EPIC2?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could do both ways, but then main issue is that you need to use a create variable where you store the Epic Link value as variable.
This is the information you need as the variable way is the option to do an edit action on Field Epic link on another Epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
wow...ok. Never played with Variable before but lets see. Thanks for hint
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what about JQL solution here? My EPIC1 with Stories already has a EPIC2 key id (continued by custom field with EPIC2 Key ID). What I need to do is, when EPIC1 is done just take all unresolved stories and update their EPIC LINK with "continueby" custom field (from EPIC1). In such case there is no need to reffer to EPIC2 at all cause all details are in EPIC1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think its best to pull the issues from Epic 1 to the new Epics, as you can then set the Epic Link value to current issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is this do-able with 1 automation or rather 2.
I am trying to follow your instructions.
1. Using conditions i can navigate EPIC2 with Issue Created Triger
2. Then I have a branch linking with Variable that (i hope) is storing my EPIC1 ID
And now i should open another Automation which will re-use my variable?
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.