Forums

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

JMWE field validators with parent link

Ahmad Sidawi
Contributor
July 18, 2023

JMWE allows for field validation of a parent issue using issue.parent.customfield_xyz, but this mainly seems to work with Subtasks and their parent.

Can we apply the same type of validators for issues that are in a Jira hierarchy using Parent Link?

So for an example an Initiative to an Epic, when transitioning the Epic's status we want to check a field in the parent Initiative. Using parent or attempting to access the parent issue's fields hasn't worked so far.

 

Thanks

2 answers

1 accepted

0 votes
Answer accepted
David Fischer
Community Champion
July 18, 2023

Hi @Ahmad Sidawi 

unfortunately, Jira Expressions, which is the language 3rd-party apps must use to implement custom Conditions and Validators on Jira Cloud, don't (yet) support the new unified issue hierarchy Atlassian recently introduced, and it also doesn't support Advanced Roadmaps and its "Parent/Child" relationship.

The only thing you can do is is the Epic/Stories relationship using issue.epic and issue.stories

Ahmad Sidawi
Contributor
July 19, 2023

Thanks, thats unfortunate

0 votes
Devangkumar Mali
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 12, 2025

Hi,

You can use issue.epic.customfield_xxxxx.value == "A value" to fetch epic custom field value. thanks.

Suggest an answer

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

Atlassian Community Events