I got my jira server address in the javascript code which is returned when I fetch the jira issue collector code from jira server, like: /jira/s/en_GBoe3h6w/782/4/1.2.5/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId="+this.collectorId
How can I set what url should be used in jira collector? I am forwarding request between my portal and jira server.
"the Issue Collector will use the URL used when accessing JIRA. For example, if you access JIRA via http://10.75.2.33/ then the Issue Collector will use the URL http://10.75.2.33" - Janet
From my test, if you change server name in Jira server'a Apache setting, Issue Collector will return different URL.
Hi Janet,
Thanks! And good to know this.
I am using JkMount to access to jira server. I define it as worker.xxx.host=10.75.2.33
worker.xxx.port=8009. That's why I revieve this url there.
And, if I define server name in jira server's apache, the url will be changed? I even have different url in different jira collector now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cong,
The URL generated by the Issue Collector does not seems to be affected by the Base URL configured in the General Configuration.
From my test, the Issue Collector will use the URL used when accessing JIRA. For example, if you access JIRA via http://10.75.2.33/ then the Issue Collector will use the URL http://10.75.2.33
-Janet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Janet!
Thank you for your reply!
My problem is about the javascript code which is returned from this URL. Inside the javascript code, I have such code:
dummyElement.href="http://10.75.2.33/jira";
src="http://10.75.2.33/jira/images/throbber/loading_barber_pole_horz.gif"
var baseUrl="http://10.75.2.33/jira";
What I want is to re-define the address returned, otherwise, browser will have un-secure warning.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cong,
I don't really get your requirement. But, the URL should look like example below:
So, the http://internal.jira:8210 is actually the URL to my internal JIRA instance and the "306e002a" is the Issue Collector ID. In your case, the JIRA URL should be specifying the URL to your JIRA instance as how your user access JIRA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.