python jira client destroy session

I am trying to invalidate the session using jira-python rest client. How can I achieve this feature, is it built in or needs to be implemented?


1 answer

1 accepted

1 vote
Accepted answer
Boris Berenberg Community Champion Apr 22, 2015

Do you mean to destroy a session which has been created using the python client? Or to invalidate another person's session? If it is the python client's session, then just log out?

Invalidate any active user's session after 'x' minutes

If JIRA does this automatically, then can you tell me where can the invalidate sesstion timeout value be configured within JIRA?

Thanks Boris, that answers my question. One more thing comes to mind, can I automate a timer from the client side for the session timeout, to call the delete session API from the command line client. The web browser clients can still have the default session timeout for 5 hours.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 29, 2019 in Jira Software

Transforming Jira Software projects for general project management purposes

...It's true that there are projects in Jira; but they are merely a way to cut off issues, to tell them apart from other sections of work and to apply rules that are specific to that team (the schemes)....

206 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you