JIRA Macros authentication

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

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



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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

842 views 41 6
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