We try to get project from jira using PostMan with basic authentication.
But we can not get any response.
So, we firstly sent /createmeta endpoint, then sent /project endpoint.
1 - http://<jira>/rest/api/2/issue/createmeta
2 - http://<jira>/rest/api/2/project
And We get project list. But, we didnt understand, why first api is mandatory to get project list.
We want to connect live access on jira, so this problem is blocked us.
Please, help to us.
Dear @System Admin ,
welcome to the community.
You do not need to call GET /rest/api/2/issue/createmeta (btw. its deprecated) to use the GET /rest/api/2/project.
Please note, that the GET /rest/api/2/project executed with admin rights shows only projects, that the admin can browse.
Returns all projects which are visible for the currently logged in user.
Please try again with a REST API browser extension. Eventually you need to set the User-Agent:x HTTP header to avoid cross site scripting warnings.
You can also try with a non admin user to see the difference.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
Is createmeta endpoint related to dark feature configuration? We try again, but
we didnt get project list without createmeta endpoint.
using Postman, get /project endpoint, we got Gateway timeout error. We didnt get.
Then, we try.
1 - http://<jira>/rest/api/2/issue/createmeta
2 - http://<jira>/rest/api/2/project
We get projects.
We searched configurations and we found a config, but we didnt configure and didnt test.
Can this configuration possible solution for this problem?
"com.attlasian.jira.issue.dark.feature.createmeta.disable"
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please try, like I suggested, the same with a browser extension? And did you call the REST from browser directly in another tab while you already access Jira? Does this work?
http://<jira>/rest/api/2/project
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Thomas,
We try on different jira servers( cloud, 8.5.1, 8.5.3, 8.5.4). We get project list using /project endpoint for (cloud, 8.5.1)
But we use createmeta endpoint for 8.5.3,8.54 versioned jira servers. If we get error(404 or empty response) using createmeta endpoint, we sent second request using /project endpoint, and fixed problem.
As a result, problem is continue but this problem doesnot block now to us . (another company has this versions : v 8.5.3, v8.54 , so we couldnt fix problem or change any configuration)
We think this problem is related a configuration on jira. Now, we decide to ignore it
Thank you for all answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Thomas Deiler you stated "GET /rest/api/2/issue/createmeta (btw. its deprecated) " - just wanna be sure it is only deprecated for Jira server ?
For Cloud it will be
GET /rest/api/3/issue/createmeta
according to https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-createmeta-get
=> meanwhile found confirmation it has been deprecated for Server only!
just asking as I am struggling with its response using postman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @felix.weber ,
according to both API documentations, createmeta is deprecated only on server.
So long
Thomas
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.