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

This widget could not be displayed.
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 Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,482 views 10 12
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