Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Is createmeta rest endpoint mandatory to get project list from jira?

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.

 

 

 

1 answer

1 accepted

1 vote
Answer accepted
Thomas Deiler Community Leader May 08, 2021

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

Thanks Thomas.

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

Thomas Deiler Community Leader May 10, 2021

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

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.

@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  

Thomas Deiler Community Leader May 20, 2021

Dear @felix_weber ,

according to both API documentations, createmeta is deprecated only on server.

So long

Thomas

Like felix_weber likes this

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