I'm building a script to connect to the Jira REST API via cookie based auth.
When I use on my script:
session = requests.Session() a_session.get('https://somejiraserver.com/') session_cookies = a_session.cookies cookies_dictionary = session_cookies.get_dict() jira = Jira( url='https://somejiraserver.com/', cookies = cookies_dictionary )
The cookies that I get are different from the cookies that I inspect directly on the browser.
If I use the cookies that I get from the request, it does not work, but if I use the cookies that I get when I inspect the browser it works.
Do you have any idea what is wrong?
Thanks in advance.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event