"Page not found" when viewing a Jira issue in Stash pop up via IIS proxy

I have 2 connectors in the Stash server.xml.

First is the standard connector, but on port "7991". This is intended for the localhost trused applicaiton linking between Jira and Stash. If I also log in using this port I can view the Jira issue popup fine from the commit screen in a Stash repository.

The second connector, on port "7990", has proxyName and proxyPort values. I am proxying through IIS using ARR. Through the proxy when I click an issue I get a "Page not found" dialog box.

If I right click the issue link and open in a new tab the Issue opens correctly in Jira (the link is also through the proxy).

So far everything else in Stash and Jira seems to work through the proxy.

1 answer

1 accepted

Turns out it was the Inbound URL Rewrite Rule on IIS. The "jira" rule was finding jira in the url then forwarding the request to Jira and not stash.

The URL for the issue is http://xxx/stash/rest/jira/latest/issues?issueKey=xxx--nn. By changing the regex pattern to ^jira/(.*) it now behaves as expected.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

175 views 20 8
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