The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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)