Jira tip 1: How to deactivate emoticons in Jira

Because “(smile) (smile) (smile) (big grin)” might not be the message you want your users to leave as a comment on your company’s Jira. Here’s how to remove them:

  1. Open [Jira_INSTALL]/WEB-INF/classes/system-renderercomponentfactories-plugin.xml
  2. Find < renderer-component-factory key=”emoticonrenderer” and remove it completely (8 lines)
  3. Reboot Jira

 Note: This does not work on the Cloud version of Jira!

Jira Tip 2: How to deactivate websudo in Jira

From Jira 4.3 and onwards, every time you need to access an administration screen you’ll need to enter your password again – which can be a bit annoying. Luckily, it is possible to deactivate this feature by adding a line in the <Jira-home>/Jira-config.properties file:

Afterward, reboot Jira so that this modification is taken into account.

Jira Tip 3: How to disable relative dates in Jira

At times, seeing relative dates like “Today,” “Yesterday” or “Just a moment ago” is not the very practical. Again, Jira is flexible so you can disable relative date formatting and simply show standard date formats.

If you’re running Jira 4.4+, here’s how to do it:

  1. Shut down Jira
  2. Navigate to $Jira_HOME
  3. Edit the file: Jira-config.properties (If this file does not exist, create it)
  4. Add the following line: Jira.lf.date.relativize = false
  5. Save the file
  6. Restart Jira

Jira Tip 4: How to call Jira REST API inside Javascript

  1. Create an Ajax query using AJS library. Here is a sample:2. Insert this Ajax calls into your JavaScript function:3. Call your function in order to display something in Jira. Here, we decided to display a “Create” button only if the user has the right to work on the specific project: