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

What is the rest api do i need to use to login to JIRA ?

ravi April 10, 2015

I am developing an iOS application and i want my app to connect to JIRA , what is the rest api do i need to use for logging in ?

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Volodymyr Krupach
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.
April 10, 2015

Hi ravi!

Please use /rest/auth/1/session: https://docs.atlassian.com/jira/REST/latest/#d2e4234

ravi April 12, 2015

Hi Volodymyr, Thanks for your answer , Can you please let me know do i need to use GET or POST as my requirement is get a list of projects once the user logs in and another question is do i need to maintain a session for this or not ?

Volodymyr Krupach
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.
April 12, 2015

Hello ravi, You use POST to get session and then you use GET for further requests adding session headers. You can look into browser's headers when you are logged into JIRA through web interface.

TAGS
AUG Leaders

Atlassian Community Events