You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi I'm trying to configure the Tuckey URLRewrite filter for Jira we are going to change the base URL as part of an upgrade we are planning. We are currently using it in our confluence environment successfully and now want to use it for Jira but have not been able to get it to work correctly. Jira seems to be a little different it seems, wondering if anyone may have some insight on how they may have configured it for Jira.
This what I have so far in the URLRewrite.xml file.
<urlrewrite>
<rule>
<name>Domain Name Check</name>
<condition name="host" operator="notequal">jirademo.domain.com</condition>
<from>^(.*)$</from>
<to type="redirect">http://jirademo.domain.com$1</to>
<rule>
<!-- Caching of static resources -->
<class-rule class="com.atlassian.jira.plugin.webresource.CachingResourceDownloadRewriteRule"/>
<!-- @since 5.0 [KickAss]-->
<rule>
<from>^/issues(\?.*)?$</from>
<to type="permanent-redirect">issues/$1</to>
</rule>
</urlrewrite>
This is what I have in the Web.xml file not sure if I have it in correct location.
<!-- gzip *must* be before UrlRewriteFilter as the rewrite filter sends 'forwards' -->
<filter-mapping>
<filter-name>gzip</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
Hi Mejia,
Did you happen to find an answer for your question above?
Regards,
Rathna
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.