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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,009 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot