It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to get metadata from Jira Edited

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

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you