Jira tip 1: How to deactivate emoticons in Jira
Because “ ” 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:
- Open [Jira_INSTALL]/WEB-INF/classes/system-renderercomponentfactories-plugin.xml
- Find < renderer-component-factory key=”emoticonrenderer” and remove it completely (8 lines)
- 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:
- Shut down Jira
- Navigate to $Jira_HOME
- Edit the file: Jira-config.properties (If this file does not exist, create it)
- Add the following line: Jira.lf.date.relativize = false
- Save the file
- Restart Jira
Jira Tip 4: How to call Jira REST API inside Javascript
- 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: