Jira cutting out scrpits from description of fields on create issue pop-up.


I have following problem: when I click "Create issue" and the issue creation pop-up appears it cuts out any javascript that is attached in the fields or in their descriptions. Script is executed once on the load and then disappears from the code.

I added a <script></script> with some jquery to the description of particular field.

When I open "Create issue" link in new tab, everything is ok - script sits comfortably under the field and is doing his job:

However, when I click the very same "Create issue" it creates issue creation pop-up (probably ajax powered) that strips ANY script from the loded code:

It seems like ajax is cutting out any script on the load. Is there any workaround for this? I really need some simple jquery to be attached to the code to manipulate visibility, values and style of screen depending on user actions.

Field templates are far too poor (can't set default values for system fields).

Velocity templates can do only a small portion of what I need.

I don't have time to learn coding of behaviors plugin.

jQuery is exactly what I need, but it gets cut out...

2 answers

You should check this stuff. It was created especially for this kind of problems:


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

470 views 1 14
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you