Forums

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

jmwe validation sub-task create specific in parent - issuetype (more than 1 issuetype)

Tyas Iglecias August 3, 2021

Hi Guys,


I want to create validation :  subtask can create base on parent-issutype

we can used Linked Issues Validator (JMWE app) but it's validated 1 parent-issuetype.

what I need, subtask can created in specific types of issue type (more than 1 issuetype). for example subtask can create in story and bug

can we use Build-your-own (scripted) Validator (JMWE app)? what global variables I need to use?


Regards,
Tyas 

1 answer

1 vote
David Fischer
Community Champion
August 3, 2021

Hi @Tyas Iglecias 

you can indeed use a Build-your-own Validator with a script like:

!issue.parent || ["Bug","Epic"].includes(issue.parent.issueType.name)

Suggest an answer

Log in or Sign up to answer