I have used "/rest/auth/1/session" rest call with my credentials to get session id. and it has provided me the json like -
now i want to use this session to get all tickets assigned to me in jira. how do i send this session with my other rest call to get tickets detail.
Thanks in advance.
Hi @Prashant_Shri ,
Please, refer to https://developer.atlassian.com/server/jira/platform/cookie-based-authentication/ as it demonstrate on how to set up the cookie with JSESSIONID retrieved.
Then, to get all the tickets assign to you, you could run Jira's search REST API endpoint using JQL https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/search using the JSESSION in the request header.
If you are working with a language that is not in the documentation mentioned, please specify the language and we from Atlassian Community can comment on with source code example.
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