I'm having a problem with some java script that we've added to two custom fields. The java script has been updated in the description section of the custom field under the administration section. I've double checked and the new script version is definitely in place but the script is not actually available on the page when I log a new ticket or update an existing one. I have cleared all the browser cache, restarted everything including the Jira server and performed a full re-index and it is still all cached.
The same behaviour is exactly the same if I remove the description entirely and add some other artibrary text into the field.
Please help because it's having a major impact on our support team at the moment.
If it’s the latter, then the problem might be that you need to update the field defintion under the “Field Configuration” section instead of the “Custom Fields” section. The description you enter on the “Field Configuration” section appears below the field when issues are created or edited and takes precedence over the one you entered on the “Custom Fields” section. That’s bitten me before.
Unfortunately its the latter: The old version of our JS is not appearing in hte HTML source.
I initially thought it was cached in the browswer, but cleaing the browser cache didn't make any difference. Then thought it might be a re-indexing issue that also didn't help. Tried finding where the Tomcat cache was and cleared that but the results are still the same. To clear the Tomcat cache, I shutdown Jira, removed everything under /opt/atlassian/jira/work and restarted Jira. Unfortunately the results are still the same.
The same behaviour exists if I completely remove the JS from the field description. The old JS is still reflected in the HTML source.
Thanks for the quick reply.
I don’t think it’s a caching issue. This definately sounds like you’re editing the description in the “Custom Field” section when you should be editing the description in the “Field Configuration” section. There’s more than one place in the administration section where you can edit the description! Check to make sure that you have changed the appropiate “Field Configuration” section.
I’d be more specific about how to get there, but the interface changes with practically every version of Jira, and your version might be different from mine.
The script is in the description field of the custom field configuration. I've checked in the Admin section and in the actual database table. The new version of our script is definitely in place. It is just now shown on the actual page when a new ticket is logged or an existing ticket is updated. The old version of the JS is still part of this page.
thanks for the quick response.
We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...
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!
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