We are having Jira, Bamboo and BitBucket are running in Production. so for upgrade process, we created the copy of the prod server and done upgradations of all the three.
For testing purpose, we have to create Jira-test instance app link in Bamboo Prod so while creating an app link for Jira-test server throwing an error server ID already exist because there was an app link of Jira-prod(old version) so due to the same server ID Jira-test and Jira-prod.
We followed the following link for changing the server id but not working
Please help us if you know the way to change the server-id
1) Acquire a new Server ID:
Install a new, temporary instance of the JIRA application. Make sure the installation points to a new, empty home directory and a new, empty database
Start the new, temporary instance. A new server ID will be created in the database.
Run the following query on your new database to retrieve the new ID:
select * from propertystring where id in (select id from propertyentry where PROPERTY_KEY='jira.sid.key');
2) Replace the Server ID on your instance:
Use this new server ID in your test instance. You need to change <ID> in the query with the new server id. The format is 4 sets of 4 capitalized alpha numeric characters separated by hyphens. Example: BP8Q-WXN6-SKX3-NB5M
UPDATE propertystring SET propertyvalue = '<ID>' where id = (select id from propertystring where id in (select id from propertyentry where PROPERTY_KEY='jira.sid.key'));
(Please note that this SQL UPDATE command above will not work for MySQL environments. It tends to generate an error such as (ERROR 1093 (HY000) You can't specify target table 'propertystring' for update in FROM clause) As such there is an alternative query you can run to perform the same change)
UPDATE propertystring SET propertyvalue = '<ID>' where id = (select id from propertyentry where PROPERTY_KEY='jira.sid.key');
Restart your test server.
I hope this can be of use to you,
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
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