0

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?

I tried looking at all the APIs available in client.py and there seems to be no way to destroy or invalidate a session.

Another question that follow is, do I have to authenticate on every REST call made by the client? Currently that is what I am doing.

Nick
  • 31
  • 11

2 Answers2

1

JIRA invalidates session after 5 hours, from version 4.3 onwards.

Found the answer here - https://answers.atlassian.com/questions/15277569/python-jira-client-destroy-session

Nick
  • 31
  • 11
0

Just to be clear, one of the reasons why is called REST api is because you do not have to do anything with the session.

sorin
  • 161,544
  • 178
  • 535
  • 806