Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how do i disable "create" button in jira cloud

ganeshramr@positiveedge.net. May 24, 2019

Can any once please suggest me how to disable a "create" button for "subtask" if not can i add the validation to that button so that it shd not  allow to create a subtask? in jira Cloud

 

 

Thanks.

2 answers

1 vote
Mikael Sandberg
Community Champion
May 24, 2019

Welcome to the Atlassian Community.

If you do not want to use sub-task at all, the easiest way of removing the create button for sub-task is to remove sub-task from the issue type scheme your project is using. 

ganeshramr@positiveedge.net. May 29, 2019

Hi Mikael,

Thanks for your time and valuable response, since i want to to disable manual creation of  "sub-task" conditionally i.e if my status = "Open" then disable manual sub-task creation button/ hide that '+' button which is above the sub-task. in Jira Cloud,

Do i need to write SIL script?

 

Thanks & Regards

Mikael Sandberg
Community Champion
May 29, 2019

You cannot disable the button without removing the issue type, but yes, you could use a condition in the sub task workflow using a SIL script.

ganeshramr@positiveedge.net. May 30, 2019

Hi Mikael,

What should i write the condition in SIL script will it prevent creation of sub-task?

will it validates that parent status is "Open" so don't create sub-task.?

 

 

Regards

1 vote
Jack Brickey
Community Champion
May 24, 2019

why not remove sub-task as an issue type for the project in question?

ganeshramr@positiveedge.net. May 29, 2019

Hi jack,

Removing sub-task from issue type for the project blocks complete creation of "sub-task" for that project, but my requirement is if the parent issue as already one running sub-task then i should not be allowed to create one more manual sub-task by clicking '+' button, Assume if he clicks '+' button also then atleast "Create" button should be disabled.

i mean to say either hide '+' button / "Create" sub-task button for that parent

 

Thanks & Regards

Suggest an answer

Log in or Sign up to answer