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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

how can I use JSESSIONID to get any issue by using jira api


I have used "/rest/auth/1/session" rest call with my credentials  to get session id. and it has provided me the json like -

"session": {
"name": "JSESSIONID",
"value": "42424424242342434234.node1"
"loginInfo": {
"failedLoginCount": 6,
"loginCount": 356,
"lastFailedLoginTime": "2019-07-09T08:55:26.560+0000",
"previousLoginTime": "2019-07-11T17:42:08.837+0000"

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. 

1 answer

Hi @Prashant_Shri ,

Please, refer to 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 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.

Kind regards,


What if I want to set the cookie with JSESSIONID when I make Javascript XMLHttpRequest? Is it impossible? I only see an example for Nodejs. If it is impossible, what is the correct way to make XMLHttpRequests from Javascript to Jira Rest Api?  

Suggest an answer

Log in or Sign up to answer

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