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
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,059 views 15 13
Join discussion

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