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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

119 views 2 0
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