Hello Brothers and Sisters,
I am JIRA DC... I want to BLOCK creating Sub-tasks for specific IssueType = INITIATIVE (Portfolio Plan Hierarchy). On Sub-Task Workflow transition = Create I am building validator using JMWE.
Related Issues Validator (JMWE app)
1. What to validate - Forbid certain related issues
You can use this.
def parentIssue = issue.get("parentObject")
if (!parentIssue) {
return true
}
return parentIssue.getIssueType().getName() != "Initiative"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.