We have JIRA behind a CROWD server and I want to use the REST service of JIRA.
I authenticate to JIRA with the rest URL https://jira.mycompany.com/rest/auth/1/session
I get back the JSESSIONID, which is fine. But any following call to the JIRA REST service including the JSESSIONID fails. After investigating I found out that the crowd token is missing (crowd.token_key=...).
How do I get this token programatically via REST?
Or more generally asked: What is the best practice to achieve REST calls to JIRA when it's behind a CROWD server?
Thanks and regards
Stefan
Community moderators have prevented the ability to post new answers.
As long as you have a JSESSIONID, you should be fine. Our instance of Jira is integrated with Crowd and we've scripted extensively against Jira without doing anything special. I've never heard of anyone needing a crowd token key. Perhaps you're talking about Jira's form token handling? Here's how to get around that:
http://confluence.atlassian.com/display/JIRADEV/Form+Token+Handling
@Dave Thomas how did you get the JSESSIONID? I think the crowd token key is needed with use for SSO.
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.