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

How to leverage Session Expired Redirects from within JIRA plugin functionality?

Jamie Saliga June 2, 2014

I am working on a plugin that makes REST calls from with a web panel plugin. When my user session expires (after taking an extended coffee break) when i use any functionality in the plugin that I have developed the REST calls dont succeed (as expected) since the user is now unauthorized.

I can detect the 401 unauthorized response via ajax and redirect to the login page manually but I feel there should be a more "baked in" way of doing this that I might be missing.

Anyone know of anything available in the APIs?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
childnode November 24, 2015
TAGS
AUG Leaders

Atlassian Community Events