Hi @Zet , welcome to the Atlassian Community!
I have ran into a similar issue before. Does the user or system trying to create the issue have the correct permissions? You might need to update the Browse Project permission as well as the Create issue Permission. If the user/system that is using the credentials in the request cannot "see" the project, the error you get is that the project id/name is invalid. Please let me know if this solves it! Have a nice day!
You can update project permissions through project settings by updating the permission scheme. Permission Documentation
If your user has create issue and browse project permissions you need to use those credentials to make the request (API token) or give permission to the user you are currently using. Let me know if this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
uhhh... actually I'm not a manager of the project so I can't access the project settings. But I can browse and create issue in the project with the GUI on the project web page.
And I do created an API token for my Jira account (and I tried revoking and recreated a new one).
And I can even get issue datas in my Google Script code with that token, juse can't create issue in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.