Unable to get metadata from Jira

Eduardo de Vera Toquero November 26, 2019

I am having problems getting the metadata from JIra in order to integrate with its ReST APIs.

We have a user that has basic auth credentials together with "Browse Projects" and "Create Issue" permissions. When invoking the endpoint:

https://<hostname>/rest/api/2/issue/createmeta

We get the following response:

{    "expand""projects",    "projects": []}

According to the official documentation, we should get a list of projects together with their corresponding information.

It's worth noting that we have managed to create issues on a given project (with the known fields) but we can' t use custom fields as we lack the information about its internal identifiers (for which we need this meta data information).

How can we make this work?

1 answer

0 votes
Arthur SALMON November 26, 2019

When you try to call the URL, are you connected to Jira with a user which can, at least, browse one project?

Suggest an answer

Log in or Sign up to answer