API scopes and access

Hi,

I managed to get a access token from atlassian with a set of scopes including write and I can create an issue in my test project, but in another project I have I seem to lack access because the response I get is

“errorMessages”: [
“You do not have permission to create issues in this project.”
],
“errors”: {}

what scope or what do I need to do to get that access ?

Best Regards,
Emil

Just to clarify regarding this.

Documentation on this is very confusing and unsure.
Some REST API functions work with oauth2 and client_credentials but some only work with basic auth (you creating a token for your app and use it with user email as user).
When I started using basic auth for creating issues it worked fine.
Just keep in mind that custom fields need to be addressed by their customid not the name you gave them.