I am using XRay-Maven plugin for running my TestNG tests from a maven project.
Upon running the command to just upload(or,build,test,upload) surefire reports ,I am getting an error that says "Execution default-cli of goal com.xpandit.xray:xray-maven-plugin:1.1.0:xray failed: Abort Execution!: Unable to confirm Result of the upload..... Upload Failed! Status:403 Response:Basic auth with password is not allowed on this instance".
Has anyone experienced this error before?(screenshot is attached)
I see that you're attempting to use xray for running some tests, but you appear to be getting an error in regards basic auth. This error message is expected if your Jira site is on the Atlassian Cloud platform.
Atlassian deprecated the use of passwords in basic auth in Atlassian Cloud sites more than 6 months ago. More details in Deprecation notice - Basic authentication with passwords and cookie-based authentication. Perhaps the guide you are referencing here is specifically designed to utilizing Jira Server, which does not have this same limitation out of the box.
Are you using a Jira Cloud site here? If you were, it would have a domain such as example.atlassian.net or example.jira.com (legacy).
If you are then you might be able to get around this by generating an API Token, and using that instead of the password here.
If you are not using a Jira Cloud site, and you are using Jira Server site, then it seems that your specific Jira Server site has disabled basic auth. This could happen in situations where Jira has been integrated with an external auth server, like an SSO or OKTA. In cases like that, you won't be able to perform basic auth calls to that Jira server in its existing configuration. Perhaps you could reach out to the Jira admin to see if there is some alternative means to authenticate there or some means to allow basic authentication for these calls.
I hope this helps.
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events