It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Macros authentication

Nick Fischer Aug 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

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 Aug 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

951 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you