Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

POST_Precondition_JSU_ Check if all ChildStories of EPIC are resolved JQL

Mateusz Janus
Contributor
February 17, 2026

Hello Brothers and Sisters,

I need Precondition when EPIC status changes to DONE. I have JSU access

precondition.jpg

There is template for LINKED issues (flat i.e. Blocked By, Relates to) but there is no template for EPIC LINK. What I see is generic JQL and now I start my issue.

When I use JQL for any PostFunction in terms of Parent Link (Initiative vs EPIC) I use below 2 generic JQLs

1. "Parent Link" = {{triggerIssue.Key}} 
2. key in parentIssuesOf("{{triggerIssue.key}}")

 But I need generic JQL which returns me All Stories from EPIC which are not DONE. 

In regular JQL filter expression I use this function 

issuesInEpics

Unfortunatelly when I try to put this function into my JQL JSU expression it doesnt work 


issuesInEpics = {{triggerIssue.Key}}

Can anyone support with this? The generall goal is
1. When EPIC goes to DONE

2. Check if there are child stories not-done

3. Update custom field flag to YES

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
Mateusz Janus
Contributor
February 17, 2026

THIS.png

 

Follwoing this article my config should work but nothing happen :(. My flag is not changing to YES when my EPIC has one story in status TO DO

https://appfire.atlassian.net/wiki/spaces/JSU/pages/12682093/JQL+reference

 

Mateusz Janus
Contributor
February 17, 2026

this one as well doesnt work 

 

issueFunction in issuesInEpics ('key={issue.key}') and issuetype = Story and status in ("to do", "in dev.","In QA.",Analysis.,"Code review.","Ready for QA.","In UAT.")
Mateusz Janus
Contributor
February 17, 2026

topic is closed... above query works fine. Again there was AUTOMATION that cleaned value during ticket EDIT

TAGS
AUG Leaders

Atlassian Community Events