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,360,113
Community Members
 
Community Events
168
Community Groups

Authentication via rest command fails when username is `user@domain`

I have made a command line interface for Jira. Formerly, my username did not include an `@` and it all worked perfectly. I now have a username like `user@domain` and the authentication fails with a 401 status code.

Whenever I make a request in the browser, I can do so by putting the `user@domain.com` within quotes, e.g. https://jira.mydomain.com/rest/api/2/search?jql=assignee="user@domain"
However, putting the username in quotes for the authentication doesn't work. I also tried escaping with `\`, encoding the at sign as %40 and also with unicode. Nothing works.

Does anyone have any idea? All help is much appreciated!

0 answers

Suggest an answer

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

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

184 views 1 6
Read article

Atlassian Community Events