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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,820 views 2 7
Join discussion

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