Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling JIRA tasks logs out the web user #212

Closed
GaretJax opened this issue Mar 2, 2015 · 4 comments
Closed

Pulling JIRA tasks logs out the web user #212

GaretJax opened this issue Mar 2, 2015 · 4 comments

Comments

@GaretJax
Copy link

GaretJax commented Mar 2, 2015

When pulling the tasks from JIRA (a cloud instance, in my case), the web user session (the one I use in the browser) is logged out. I had the same issue when developing a tool for myself and discovered that it is due to the jira package sending cookies along with requests.

I have solved it this way: https://github.com/GaretJax/lancet/blob/f175cb2ec9a2135fb78188cf0b9f621b51d88977/lancet/jira.py#L10-L17 and https://github.com/GaretJax/lancet/blob/f175cb2ec9a2135fb78188cf0b9f621b51d88977/lancet/jira.py#L24-L27

@ralphbean
Copy link
Sponsor Collaborator

Are you still hitting this issue @GaretJax? I've never encountered it myself.

@Fongshway
Copy link
Contributor

This may actually be a non-issue now given Deprecation of basic authentication with passwords for Jira and Confluence APIs. Api tokens are now the preferred way to authenticate a script.

@ralphbean
Copy link
Sponsor Collaborator

Ack. Let's close this then. @GaretJax, if we're wrong - please re-open!

@GaretJax
Copy link
Author

GaretJax commented Aug 5, 2019

I guess it's ok. It has anyway always been a bug on the JIRA side of things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants