I have been running a basic query for over 2 months for 2 projects on our system. Today the script errored with : Invoke-JiraMethod : For security reasons Jira requires you to log on to the website before continuing.
I can login to Jira and look at latest issues, but script still fails. I believe I have admin access in our group. Need to know how to further investigate this.
Hi @[deleted] ,
Welcome to the Community! I wonder if this is related to the deprecation of Basic authentication with passwords and cookie-based authentication as described in this article: https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/
"If you currently rely on a script, integration, or application that makes requests to Jira Cloud with basic or cookie-based authentication, you should update it to use basic authentication with an API token, OAuth, or Atlassian Connect as soon as possible."
Can you update the authentication to using an API token, e.g.? The article includes details on how to do this. Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe to add to the confusion. My access to the company's Jira application is done with ESSO, which does not use email as password but PSID [7 digits] then password. Up until 2 days ago when I started receiving the security alerts the script would request Get-Credentials and I would enter P9999999 + password and all worked. Having requested and been given a token
email + token => unable to authenticate user
P9999999 + token => still gives security alert.
Rock and a hard place, maybe?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted] what did you wind up doing? I'm having the exact same problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right now: stalemate, The issue was brought to the attention of both our Jira Admin and IT security. IT created a user account for me with a separate password - I ended up trying credentails as:
all failing with either security error or unable to authenticate user. Have a webex with all parties later this week to explore the issue. Hopefully can be resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe the version 2.14.6 - but running an update doesn't change anything.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.