Enforce JIRA not to run when base URL doesn't matches the actual URL.

Tayyab Bashir Community Champion Sep 14, 2017

Hi,
We have multiple test instances that are replice of our Production Servers.
We normally keep restoring test instances with latest XML backups from production server for testing purposes.

When an XML backup is restored, it brings in all the data from production including its URL in general configuration.
And often times developers forget to change the URL and start testing on it. 

So for example, if you open an open a new dashboard in new window with the middle button of mouse, it opens with the actual Production Server. 
And often times this could lead to making test changes on Production server.

Could anyone tell if there's a way to enforce JIRA not to run when Base URL doesn't matches the actual url? 
Lately, I've noticed that the warning also doesn't appear, telling you're accessing with incorrect URL. 
But even without the warning is there a way to enforce JIRA doesn't run with incorrect URL?

 

Many thanks,
Tayyab

1 answer

0 vote

Hi Tayyab,

Something like that would have to be done with a proxy.  There is a communities post that deals with a very similar topic for Confluence titled Redirection to another confluence base url that you can start with.

Here is some additional documentation for re-directing:

Apache: Redirecting and Remapping with mod_rewrite

Creating NGINX Rewrite Rules

IIS: Creating Rewrite Rules for the URL Rewrite Module

Cheers,

Branden

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,305 views 14 20
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