JIRA Server Development Tips and Tricks

I’m curious:

What is your favourite tip or trick for JIRA Server development?

1 Like

Something I always use when starting up a local dev instance is
atlas-debug --server localhost
So this makes sure the url will be localhost:2990 - instead of my mac’s host name which sometimes gets used.

5 Likes

You can configure the application via your POM file, such as starting under HTTPS or enabling email functionality –

<startupTimeout>1200000</startupTimeout>
<useHttps>true</useHttps>
<httpsKeystoreFile>/Users/sbehnke/keystore.jks</httpsKeystoreFile>
<httpsKeystorePass>password</httpsKeystorePass>
<httpsKeyAlias>sbehnkessl</httpsKeyAlias>
<httpsPort>2990</httpsPort>
<systemPropertyVariables>
    <atlassian.mail.senddisabled>false</atlassian.mail.senddisabled>
</systemPropertyVariables>
2 Likes

Disabling dev mode was magical for performance when working on UI portions (js/css/html):
atlas-run -Datlassian.dev.mode=false

From what I gather, it enables some of the caching mechanisms, and thus means page refreshes don’t take 2 minutes.

3 Likes