Getting confirmation before Deleting Custom Field Contexts in Atlassian Jira

by | Jul 11, 2018

If you are trying to edit a custom field context, it is very easy to accidentally delete it. It is a poor User Experience and there has been an open ticket asking Atlassian to fix it for 6 years today: JRASERVER-27957 We wanted to commemorate this occasion by sharing a simple workaround. Just put this in your announcement banner and voilà, warnings before deletion.

[pastacode lang=”javascript” user=”atlasauthority” repos=”one-offs” path_id=”jira/contextDefender.js” revision=”master” highlight=”” lines=”” provider=”bitbucket”/]

If you’re on Cloud, you can’t inject this kind of content into the system. But you can have your admin team inject it via their browsers. The popular tool for this is Tampermonkey which is available for almost any browser.

Subscribe to receive our monthly
blog posts in your inbox

Latest Blogs
CVE-2021-44228 Analysis

CVE-2021-44228 Analysis

This is a living document (Last Updated 09:55 ET Dec 11th 21), and we're working to update it as we find more information. If you have feedback, please feel free to email boris@atlasauthority.com Official Responses Official response from Atlassian for Customers:...

read more
Share This