Auto Redirect jiradomain/Issue-211 to jiradomain/browse/Issue-211 ?

Has anyone set up a urlrewrite rule or similar to redirect jira.domain.com/ISSUE-123 to the proper jira.domain.com/browse/ISSUE-123 pattern?

 

I assume this could be fairly straight-forward, are there any any drawbacks?

Care to share your rule if you've done this?

 

I've found a similar example of doing this at the http server level in the comments of https://jira.atlassian.com/browse/JRASERVER-7250

2 answers

0 vote
Brant Schroeder Community Champion Oct 12, 2017

Are you using a proxy?  If you are it would be really easy to handle there.

can be but generally no....

0 vote

It's hard to do it without a proxy, but the later versions of Tomcat may be able to help you

See https://confluence.atlassian.com/jirakb/how-to-customize-customer-portal-url-in-jira-service-desk-server-847755218.html for the general idea.  Just be careful to not redirect anything that isn't an issue key, and you'll need to educate your users that you're doing this.

Oo that looks like what I need probably.  I was thinking the rewrite condition would require users to *not* really be aware of this since it would only work if properly formatted... e.g., a regex filter to detect XYZ-1234 (and no trailing /) pattern or similar immediately after the domain...

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

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...

185 views 1 17
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