Hi everyone,
I want to hide create subtask button just one project.
Can I solve it using Scriptrunner?
if yes, how can i solve it?
I am waiting for your answers.
Thanks for everything
Hi @Jira User Welcome to Atlassian Community!
You can hide Subtask using , Script Fragment feature of Script Runner plugin :
In Script Fragment >> Create Fragment >> Select Hide UI system or Plugin UI element >> Hide What select "com.atlassian.jira.plugin.system.issueoperations:create-subtask" and apply condition as per your requirement.
Hi @Jira User This subtask section is only visible when Parent issues is having any subtask/s.
If Parent issues is having zero subtask then this section won't visible.
Use "com.atlassian.jira.jira-view-issue-plugin:view-subtasks" to hide Subtask section.
Thanks
V.Y
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to disable the sub-task creation in the Epic type issue, then use other properties (in red frame)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jira User and welcome to the Community!
The ability to create a subtask depends on whether there are any sub-task issue types in your project's issue type scheme. I would check the issue type scheme for your project and remove any sub-task issue types. For example, in a Jira instance I have the following sub-task issue types:
+
If any of these issue types were in my project's issue type scheme, the ability to create a sub-task would be there. If none of these are included in my project's issue type scheme, then the ability to create a sub-task shouldn't be there. You shouldn't need to do anything extra in Scriptrunner to achieve your objective.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Could you explain your use case a little further so I can better understand? I am not understanding yet why you would want to use sub-tasks but hide the ability to create them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is another app that i use for flows: It automatically creates sub-task to jira. For this reason I have to use sub-task, but I want to hide this button to prevent other users from creating sub-tasks according to their wishes.
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.