Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Login from confluence to jira.

Tomohiro Hirano
October 2, 2012

Hello, and now we set up jira and confluence.

https://confluence.atlassian.com/display/DOC/Confluence+and+JIRA

i see this, and setup jira and confluence to trusted.

JIRA and Confluence is in the same server installed, and manage Confluence user by JIRA.

URL is setted "http://server-name:8080"(or 8090 about JIRA)

and IP setting 192.*.*.*, both set.

Both app, there's setting in "application link".

But JIRA task in Confluence, and clicked, go to JIRA but request login.

Is there any settings?

4 answers

1 accepted

0 votes
Answer accepted
Colin Goudie
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 Champions.
October 3, 2012

Seems to me that you are referring to wanting SSO. (Single Sign On)

This only is supported if using Crowd.

If you are using JIRA as as the user management system for Confluence, navigating from JIRA to Confluence or visa-versa will still requrie you to log in as there is not SSO configured between them.

Tomohiro Hirano
October 3, 2012

Dear Colin Goudie.

Thank you for your reply. I think when Confluence's user manager is depend on JIRA, i first access to Confluence, and next click JIRA's issue, i can see the issue without login.

You say this can only with using Clowd, ok?

0 votes
MatthewC
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 Champions.
October 2, 2012

But JIRA task in Confluence, and clicked, go to JIRA but request login.

Is it showing the Jira data in Confluence but when you click on it to go to Jira, you are asked to login?

If it is, I wonder if you are suffering from the issue fo having both Jira & Confluence on the same server? If they are both on different ports and use the root context (/) you need to change the context so that the cookies don't over-write each other.

https://confluence.atlassian.com/display/JIRAKB/User+is+Logged+Out+of+JIRA+after+Confluence+Login

Maybe, I have just mi-understood the last line of your question....

Tomohiro Hirano
October 3, 2012

Dear Matth Cobby

Thank you for your reply. Exactry, now

JIRA:http://localhost:8080/
Confluence:http://localhost:8090/

i'll change each like what manuals

JIRA:http://localhost:8080/jira/
Confluence:http://localhost:8090/confluence/

Thank you.

Tomohiro Hirano
October 3, 2012

Hi, Matth Cobby.

i enter the context like my comment, and be no need to login every access for JIRA and Confluence!

But when i access application link on Confluence, "Bad Request" called like image.
I only changed context path and "URIEncoding=UTF8" added to server.xml.

At JIRA, after adding context-path, re-construction and success.
But Confluence's application link is can't move...(click add new one, and enter URL and click next, but no responce... )

Tomohiro Hirano
October 3, 2012

Hi, Matth Cobby.

i enter the context like my comment, and be no need to login every access for JIRA and Confluence!

0 votes
Harry Chan
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 Champions.
October 2, 2012

Make sure you have not only the external IP but also localhost and the ip for localhost.

Tomohiro Hirano
October 2, 2012

Dear Harry Chain.

Thank you for your answer. I changed IP setting like this, but can't.

192.*.*.*
127.0.0.1

i set the URL pattern to JIRA's accept certification like this from manual.

/plugins/servlet/streams
/sr/jira.issueviews:searchrequest
/secure/RunPortlet
/rest
/rpc/soap

/plugins/servlet/streams
/plugins/servlet/applinks/whoami

But there's no config in manuals.

Where do i must check?

Harry Chan
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 Champions.
October 2, 2012

Check the logs to see what error you get? It should tell you what you are missing.

Tomohiro Hirano
October 2, 2012

(atlassian-confluence.log)

Thank you, Harry Chan. i forgot theres logs. But too long.
There's exception, but i don't know why.

Thank you.

Harry Chan
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 Champions.
October 2, 2012

It says you are missing /sr/jira.issueviews:searchrequest-xml/ in the list of URL.

Tomohiro Hirano
October 3, 2012

there's no list in my URLs. But my URL is listed on the manuals...
i'll add the URL, thank you.

0 votes
KhongMingA
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 Champions.
October 2, 2012

Dear Tomohiro Hirano


Regarding to the question you had ask, can you try to manually list the all these URLs in the Trusted Application pane:

/rest

/plugins/servlet/applinks/whoami

/plugins/servlet/streams

/rpc/soap

/secure/RunPortlet

/sr/jira.issueviews:searchrequest

One must also add this one:

/rpc/xmlrpc

-Source

Cheers
KM

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events