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
Next: Root
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.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
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!
Thanks for reply. How to check if I have the Create issue Permission? May I check it in google script with code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.