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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

82 views 1 0
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