I have been attempting to use Jira API to create jira cards. I kept receiving the following error: {"errorMessages":["You do not have permission to create issues in this project."],"errors":{}}.
I attempted to figure out what was going on since I gave the API token all possible scopes and set max project permissions for creating issues.
I used the following command to check if it is just an issue with the authentication:
curl -H "Content-Type: application/json" -u "[my email]:[my token]" --url "https://[my base url].atlassian.net/rest/api/3/myself"
and received:
Client must be authenticated to access this resource.
What do I need to do get it to work?