Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA Macros authentication

Nick Fischer August 13, 2012

We're experiencing problems in Confluence with the JIRA Macros plugin:
Confluence - Jira - Forbidden

Version info:

Jira Version: 5.1.1
Confluence Version: 4.2.5
JIRA Macros Plugin version: 4.0.14

There is an URL via which an XML file can be requested. If I let my browser (does not matter which one: Chrome, IE 9 or FF 14.x) call this URL, I get an "400 Bad Request" error if I'm not logged in Jira and the correct XML if I am logged in - thats OK so far... Therefore I suppose, that the Confluence-app could not simply authorizie in Jira and grab the XML.

The question is, where I can enter correct credentials for the plugin? Or am I "digging in the wrong place"?

1 answer

0 votes
William Zanchet [Atlassian]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2012

Hey Nick,

First you need to check if Confluence and JIRA are running in the same protocol, I mean, if Confluence is running over SSL, JIRA in the other hand must run too.

You might want to check if your BaseURL( Browse > Confluence Admin > General Configuration ) of Confluence, matches the URL that you use to access Confluence, in JIRA is the same thing.

For test purpose, create a new page in Confluence, go to "Insert > Other Macros" and try to find JIRA Isssue, and see if Confluence can fetch the issues from JIRA.


When you made the Application Links, be sure that the server"can fully trust each other". If you're not really sure, you might want to check our documentation:

* https://confluence.atlassian.com/display/CONF42/Adding+an+Application+Link

And here is another documentation about configuring authentication for an Application Link.

* https://confluence.atlassian.com/display/CONF42/Configuring+Authentication+for+an+Application+Link

Cheers,

WZ

Nick Fischer August 13, 2012

Hello William,

thank you for the answer!

Let's do it step by step.

I've checked the configs of BaseURL parameter, they seem to be OK except for the ending of the URL:

Confluence's is: http://<confluence_server_name>.com

Jira's is: http://<jira_server_name>.com/jira

I have to notice that both apps redirect to the */<appname> automatically so I'm not sure, if I shouldadd /<appname> to each value.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events