Forums

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

How to disable pop-up option for creating a subtask in JIRA 5.1.8?

Nick
Contributor
December 10, 2012
<script type="text/javascript">
AJS.$("#create_link").removeClass("create-issue");
</script>

We found out how to remove for tasks.

But what class to delete for subtask, we dont know.

Help please!

1 answer

1 accepted

0 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 10, 2012

Remove issueaction-create-subtask class.

Nick
Contributor
December 10, 2012

<script type="text/javascript">

AJS.$("#create-subtask").removeClass("issueaction-create-subtask");

</script>

It does not work:(

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 10, 2012

You are just calling it early. Try this:

<script type="text/javascript">
AJS.$(function() {
  AJS.$("#create-subtask").removeClass("issueaction-create-subtask");
});
</script>

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events