How to restrict creation of subtask based parent issue type. ?? If its issue type 'A' i dont want people to create subtask for it. Issue type 'A' is main issue type.
In the UI itself i dont want to see a link to create subtask.
Help me !!!!!
This simple scripted validator on Create transition in sub-issue workflow could do required check:["Task", "Bug"].contains(issue.parentObject?.issueTypeObject.name)
@osvaldo plabst By entering Task, Story between [ ] you are limiting which issue types can be used to create sub-tasks.
For Example if you type "Epic" between [ ], you are only allowing sub-task creation under Epic and restricting sub-task creation under all other issue types.
I am trying to implement script validation for JIRA v 7.8.2
We have created specific Sub tasks ad need to restrict creation of sub tasks only under specific
Say sub task is SUBTASK A and task is TASK ONE
i have defined Workflow for SUBTASK A and am trying to implement Validator during creation.
my syntax is
I am getting required error message even when I am trying to create Sub task under TASK ONE.
Please suggest what could be wrong as I think the TASK ONE name is not getting validated.
Please use this in Validator for create transition in the workflow.
issue.parentObject?.issueType.name in ["XXXXX']
where XXXXX is the name of your parent issue type.
please make sure that there are no spaces in the name before and after the alphabets.
Thanks to the host, FlightAware, and the presentors, Ben and Joe (LucidChart). Great meeting other people who use and like the Atlassian product set!
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs