Forums

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

JSU_Post Precondition_ JQL issue. issueFunction in issuesInEpics ('key={issue.key}')

Mateusz Janus
Contributor
February 17, 2026

Brothers and Sisters

I am creating
1. JSU JQL Precondtion which retreives all child stories of EPIC which are not resolved

2. Action Update Any issue field if precondition = YES

A. Test EPIC with 1 TEST STORY CHILD

jira1.jpg

B. regular JQL 

issueFunction in issuesInEpics ('key=ENGI-15898') and issuetype = Story and status in ( "to do","in dev.","In QA.",Analysis.,"Code review.","Ready for QA.","In UAT.")

jira2.jpg

C. POST FUNCTION CONFIG

jira3.jpg

D. JSU JQL

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.")

JIRA4.jpg

 

JIRA 5.jpg

 

 

Problem.

Why my custom field flag doesnt change? Looks like my JSQ JQL doesnt find any Stories under EPIC

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Christos Markoulatos -Relational-
Community Champion
February 17, 2026

Hi @Mateusz Janus 

try this, replace your precondition with:

issueFunction in issuesInEpics("key = {issue.key}")
AND issuetype = Story
AND resolution = Unresolved

Set Must find issues. Keep the JSU Update Any Issue Field post function target as This issue to flip the flag on the Epic.

Let me know if it worked

Mateusz Janus
Contributor
February 17, 2026

hi @Christos Markoulatos -Relational- 

unfrotunatelly your idea doesnt work as well BUT i found the answer here

https://appfire.atlassian.net/wiki/spaces/JSU/pages/12681740/JQL+use+cases

Instead of ISSUEFUNCTION I just put

"Epic link" = {issue.key} 

:) simple as that. But thanks anyway for your quick reaction

Christos Markoulatos -Relational-
Community Champion
February 17, 2026

NP @Mateusz Janus finding the answer your self its always the best! :)

TAGS
AUG Leaders

Atlassian Community Events