Hello All,
I want to hide create sub-task option on Epics. I was following the below URL but it doesn't seem working in the 7.12.3 Jira version.
Can anyone help me?
Thanks,
Manikanta.
Go to your sub-task workflow (make sure the workflow is associate only for the sub-task issue type), click on create transition > Validator > add Validator > Script Validator [ScriptRunner] > Simple scripted validator :
In the condition box paste the code:
I changed the code to check if the issue type is Epic > then block the creation
!["Epic"].contains(issue.parentObject?.issueType.name)
Add to the "Error Message" box your message.
Leave the "Field" empty.
Let me know if it's work for you.
Hi @Neta Elyakim,
Thanks a lot!!!
It's working but I want to hide that create sub-task button.
Is that possible?
Thanks again,
Manikanta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's may be possible with JS but I never did it.
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.