One of our customers would like to create issues in their Service Desk project through the REST API.
I tried to simulate this by inviting a customer to a testing project, creating API tokens for this customer and trying the REST API methods using Basic Auth . All calls that require authentication end up with a 401 response code.
I am sure the customer has the necessary permissions to see issues in the testing project, as the customer can log in and see the issues in the web interface.
I've tried making the same API calls using my own credentials and that works fine, so I think I'm making the calls correctly.
Welcome to Atlassian Community!
For a customer to be able to create issues via REST API, they need to have an Atlassian account in order to create an API token on their profile.
Also, the customer must be listed as an internal user, but it’s not necessary to give them a license to the product. They will be a user without application access.
I can see that you are not a site administrator, so reach out to your site admin for them to follow the steps below:
Go to Cog icon > User management > Product access and disable all of them. Note that, it won’t affect any user. This will only prevent that, when migrating the customer, they won’t count towards a license.
After that, from the same Administration page, click on Jira Service Management where the customer will be listed. Then, migrate the account to Atlassian account.
Once this is done, the customer will be listed as an internal user, but since they don’t have applicate access (since it was disabled on Product access), they will only be able to access the portal.
Their profile should look like this:
After that, they can generate an API token from their profile on https://id.atlassian.com/manage-profile/security/api-tokens and the API call should work.
Please, give it a try and let us know how it goes.
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
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