Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

API token generation using basic authentication doesn't work Edited

I was trying to generate a new REST API token from a Fisheye and Crucible site 


with parameter ->

"userName": "myusername",
"password": "mypassword"

by following instruction from this:

I also tried

This also doesn't work. Can someone please tell me how to generate this API token.

1 answer

0 votes

Sorry someone is so late getting back to you.

Can you expand on what doesn't work? Are you getting some sort of error response?

Note that this token is temporary and not the recommended approach for rest authentication. You can't generate that token once, store it in your code and re-use it forever.

Generally, if a program or script has the username/password to be able to authenticate and generate a token for use in subsequent calls, then it's just as easy to always include these parameters in the authorization header for all api calls. See basic authentication

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

634 views 2 18
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