I'm calling to
https://api.atlassian.com/ex/jira/
to this API
rest/api/3/issue/createmeta?projectIds=10540&expand=projects.issuetypes.fields
The call works in Postman perfectly with the Bearer token but the same call returns a 403 Forbidden when made by the Node application
As @Michael Wohlgemuth already said, you should be using as a base url the url of your instance, e.g. https://your-domain.atlassian.net.
You can also check out the details of this REST API method in the docs. Please keep in mind that the endpoint you want to use is deprecated and will only work until June and you should rather use the project/issuetype specific endpoints, see this deprecation notice.
Hello!
Are you 100% sure you want to make this call to the url you have mentioned? I personally only know api.atlassian.com for user related tasks in a cloud organization. It looks like you should send this request to the jira instance your issues live on.
regards
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.