You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
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
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.