-
Create a directory of your choosing on the Atlassian server.
Note:
You should create a subdirectory in your Atlassian instance, such as <Atlassian Installation Directory>\pingfederate-settings.
- Go to your Jira root directory and edit .\bin\setenv.bat.
-
At the start of the .\bin\setenv.batfile, insert the
following:
-
If Jira or Confluence is running as a standalone service (started using startup.bat):
set PINGFEDERATE_ATLASSIAN_DATA_PATH=<Atlassian Installation Directory>\pingfederate-settings
-
If Jira or Confluence is started using Windows service, go to Jira’s bin directory with a command prompt running as Administrator, where Tomcat9.exebinary is located and enter the following.
tomcat9 //US//<service id> --Environment=PINGFEDERATE_ATLASSIAN_DATA_PATH=<Atlassian Installation Directory>\pingfederate-settings
Note:Depending on your version of Atlassian, you might need to change
tomcat9
totomcat8
in the command. To find out which version of Tomcat you have, check the documentation for your Atlassian product:- Bundled Tomcat and Java versions for Confluence
- Bundled Tomcat and Java versions for Jira
Tip:To determine your service ID, open services.msc and select the Jira or Confluence service. The service ID appears in the details area. A service ID is formatted as
JIRA123456123456
.
-
- Restart the Jira server.
Page created: 24 Jul 2019
|
Page updated: 8 Feb 2022