You could use: GET /rest/api/2/issue/createmeta
For example, if you make a GET request to:
https://{your-jira-url}/rest/api/2/issue/createmeta
You should get a list of the projects in which the user has permission to create issues.
This assumes that:
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.