What is the correct way to identify customfield id of Sprint by rest api in Jira Software?

What is the correct way of identifying the sprint custom field in JIRA by rest api? Someone can create multiple custom fields in the system with the name "Sprint". So how do I identify which is the standard custom field "Sprint" of Jira Software?

Is it identified with the help of the string "com.pyxis.greenhopper.jira:gh-sprint" found in response by the rest api: "/rest/api/2/field"?

1 answer

0 votes

Yes, that's the Jira Software Sprint field type.  Well spotted!

Thank you.

Can you please tell me how do I identify the standard custom field of "Epic Link" and "Story Points" of Jira using rest api?

Epic link is similar - com.pyxis.greenhopper.jira:gh-epic-link  but Story points is a standard numeric custom field

What if someone has created two fields with the same name "Story Points", then how do I identify which is the correct field used for estimation?

Rename one of the fields to "Story points" or "Story Points."

Or, better, if someone has done this, remove their admin access from Jira as they really shouldn't be making mistakes like that.  It also is possible to do it by accident when upgrading or migrating though.  However a duplicate got there though, remove it.  You should not duplicate field names, especially something like Story points, for which there is no sane reason to have two fields.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,770 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot