How to change JIRA's temp directories Edited


How to change JIRA's temp directories?

JIRA as well as the other Atlassian tools use two directories for temprary contents.

1. <Install-Directory\temp> Temp directory configured in the Java runtime, used by some  components write temporary files or lockfiles

2. <JIRA-Home\temp> Temp directory used for runtime functions.

We've configured those for Conflunce according to the following tutorial

How to do the same for JIRA?


1 answer

1 vote

Hi Michael,

I tested this and the instructions in How to Change the Temporary Directory is what you're going to need to do.

The lines in the article are already there so you'll just need to search the file for the code block and make the changes.  Once you make that change you'll need to restart JIRA.

You can confirm the change before and after by searching for the following in your JIRA_INSTALL/logs/catalina.out file:




Hi Branden! Thanks for your responce!

I've changed the parameter in the catalina server. This wad one by the registry setting<temp dir>. This seems to work well - at least the has been changed according to the JIRA log.

Do you think we could use this method? I consider it much more cleaner than editing some scripts.

Do you know how to easily simulate JIRA to create some temp files to test if it actually works?


Hi Michael,

Thanks for the follow up and I'm happy to hear the JVM method worked for you.  I didn't get that to work in my instance but it may have just been my instance.

I would consider it cleaner as well and since you can verify it worked by seeing the

being set correctly at startup I wouldn't see an issue with that as it should be an application agnostic command.

In regards to simulating temp files that is something I wanted to do as well but I was unable to find a method to do so before answering.  I will continue to look and let you know if I do but as of now I haven't.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,675 views 18 21
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you