Applying javascript to quick issue create in jira 6.1.6


We have defined some custom fields in Jira 6.1.6 based application. The custom fields appear/disappear by javascript written in createissue-details.jsp.

When I create issue from the link "create-issue" on dashboard. A pop-up window opens to create issue. In this popup window, none of the code(javascript) appear to work.

However when i go to issues from settings and try to create task. A full page opens up(instead of a popup window) to create issue. In this page, the js code works fine.

We tried to investigate by looking at the requests made(through firebug) and found that "QuickCreateIssue!default.jspa" is called when a popup window appears to create issue.

But when we tried to create issue from settings. The following pages were found to be requested:

"CreateIssue!default.jspa" and "CreateIssue.jspa".

When I searched for "QuickCreateIssue!default.jspa" ,i could not find any such jsp page, so that i may put js code there.

Please suggest how to reflect js code functionality in those "QuickCreateIssue!default.jspa" pages.

Or Please suggest how to redirect users to "CreateIssue!default.jspa" and "CreateIssue.jspa" pages even when they click on create issue link from the dashboard(though this approach is least preffered).

Thank you!

1 answer

Hard to explain, but the create screen can be different from your view or edit screen.

Go to Project > "Your Project Name" > Screen > expand Screen Scheme. You will see Create Issue, Edit Issue, and view Issue.

If these three things are using different screens, that could explain why in your create screen you are seeing formatting.

To fix this, go to Issues > Screen Schema, and see the Issue Type Screen Schemes.

At next screen, look for default Issue type, look for it's screen, go to its custom fields, and update the javascripts there.

Like I said, hard to explain. Why make it so hard to navigate as a JIRA admin???

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Atlassian acquires AgileCraft

         Good Day, Bad bad traffic, not sure why!!!! 1/2 hour commute took me 2 hours today 🤯 What helped me is that I kept browsing LinkedIn until...

50 views 4 0
View post

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