I am trying to restrict sub-tasks from being created underneath epics. I have seen that the following scripts have worked for folks, but I can't get them to work for me. Please let me know if you see what I am doing wrong! Attached is a photo of one of the scripts in the validator section of the create transition. Help!
!["Epic"].contains(issue.parentObject?.issueType.name)
["Task", "Bug"].contains(issue.parentObject?.issueType.name)
Hi Julia, I tried using the same script that you used, and it worked in my Jira instance. Like what Martin mentioned above, the execution history shows that it had not run yet, were the changes saved and applied successfully?
If the validator ran and failed, it would've shown up in the history and tell us why it failed.
Hi @Julia , I can see that validator has not ran yet. Did you publish your workflow's draft?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.