How can i use Epic link as a condition for transition in WF between the statuses

Razinov V.N. October 13, 2023

I add condition in this way 

Screenshot 2023-10-13 at 12.57.28.png

but it didn't work. Transition didn't available.

1 answer

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2023

Hi @Razinov V.N. , I see "xxx" in the condition. What is the condition you seek? Are you wanting to ensure the epic link has any value or a specific value? If a specific value what is that value? If you are testing for any value use "!=" and leave value empty.

Razinov V.N. October 13, 2023

I want to use a specific value. I copy epic link from the same name field in task and add in field Value in this form

Screenshot 2023-10-13 at 14.15.00.png

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2023

Hi @Razinov V.N. ,

So it has been awhile since I did something similar to this so I tried to recreate the condition; unsuccessfully as yet. What I recall doing was using "Option ID" in the comparison type rather than string. The challenge I am having now is establishing the OID. If I get it figured out I will let you know. Please do the same.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2023

oh, here is a thought. maybe add a custom field or use a label. Setup an automation rule to add a label "OOO" whenever an issue is updated to include the OOO Epic link. Then check for the label/custom field in your condition.

Like Razinov V.N. likes this
Razinov V.N. October 14, 2023

We are currently using another custom field for this condition that matches the same value in our company, but the thought of automatically copying the Epic link value into another custom field is a good idea. I will try.

Razinov V.N. October 14, 2023

I tried copying the value from the Epic link in two ways. First I add a postfunction on the transition - when I did this the system showed me some error message with a server related problem, but another transition without this rule was successful. The second way was to use an automation rule and when I tried to add the field that I want to copy the value from, I didn't find that field.Screenshot 2023-10-15 at 05.53.34.png

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 15, 2023

You don't have to copy the value actually. Just add a label when the epic is OOO - JQL "epic link" = abc-123" where abc-123 is the Epic key. Then you can test for the existence of the label. One thing to keep in mind is that you would want to account for the epic link changing which would require you to remove the label. If that is a possible scenario in your workflow.

Razinov V.N. October 19, 2023

Sorry, but I don’t understand at all what I need to do

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events