Hi Community,
I'm trying to setup a sync between our Onprem Jira and a remote Devops repository via Tfs4jira synchroniser.
At the beginning I was able to setup jira connection but not the azure devops connection.
After reading the following topic (https://community.atlassian.com/t5/Marketplace-Apps-Integrations/TFS4Jira-connection-issue/qaq-p/771499) I was able to setup the Azure devops connection but the connection to my jira is now failing.
Is there any trick to connect to Azure devops through the proxy and directly for my jira with a web.config modification or not ?
Thanks for the help
Auto answer :)
Thanks to my colleague, i found a solution.
Instead of setting directly the proxy, we can set-up a proxy script (better known as proxy.pac).
To do so :
Put the following section the web.config :
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy scriptLocation="http://localhost/proxy.pac"/>
</defaultProxy>
</system.net>
In the proxy.pac (put in my case at the root of tfs-jira-synchronizer site), set your rules :
function FindProxyForURL(url, host)
{
if (dnsDomainIs(host, "www.abcd.com"))
return "PROXY proxy.url.dnsext:1234";
else
return "DIRECT";
}
In this case, my DEVOPS repository is located at www.abcd.com, my Jira repo on the LAN and proxy is reachable at proxy.url.dnsext on the port 1234
Take care to run the IIS with the appropriate credentials to auth against the proxy.
Hope this will help !
Best
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.