Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,991
Community Members
 
Community Events
165
Community Groups

Question about Basic Authentication

I can successfully authenticate against a Jira Server instance using the API with my userid and password, but not using my email address and a PAT. Does anyone know why that is? It thought the former was obsoleted in favor of the latter.

This works (using Jira userid and password):

image.png

This does not (using email address copied from Jira profile and a new PAT):

image.png

I am certain the PAT is correct as I can successfully use it as a Bearer Token:

image.png

Can anyone clarify this for me?

Thanks,

Jozef   

 

1 answer

I think the PAT requires just your username and not your email address if it works as Bearer. Just a hunch given the tests you've done.

Ah no - tried that combo too!  :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22.1
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 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...

14,918 views 37 49
Read article

Community Events

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

Events near you