Basic Authentication to connect and upload an attachment to JIRA , always shows 401 error since past 3 days

Basic Authentication to connect and upload an attachment to JIRA , always shows 401 error since past 3 days.
However, earlier the same code base was working fine.I made no changes in code but it is not working any more.

I wrote my code in VBA excel to connect to JIRA and upload excel attachments.

Somewhere, I heard that this issues keeps occuring from time to time. Is it so ?

Hi @rahul19.singh19,

Can you please show us the code you’re using to authenticate yourself? (Be sure to mask any passwords or tokens)

Hi,

I have similar problem since 2 days ago and now resolved with API tokes.
https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/

I hope this help.

2 Likes

Hi @hirota.takayuki you are correct.Since, jira ended support for password in rest api, we need to use api token as password and the username as login.
This works.

1 Like

Hi @pvandevoorde thanks for you time.
Since, jira ended support for password in rest api, we need to use api token as password and the username as login.
This works.

1 Like

Good to hear that using an API-token works for you.
I’ve selected @hirota.takayuki’s answer as the solution to your question so others can learn from this.

3 Likes