Hi @[deleted],
Welcome to Atlassian Community!
Story Points is just a custom field so the end point you are looking for is Edit issue.
Thanks @Mikael Sandberg for the quick response, could you please share me body schema that I need to pass for updating the story points for a particular issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{
"fields": {
"Story Points" : <Number>
}
}
This is all you need to send in the body.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mikael Sandberg ,
Getting below error when i tried Edit Issue endpoint, could you please help? Did i anything?
Error :
{
"fields": {
"Story Points" : 10
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The clue is in the error message. You have to make sure Story Points is on the edit screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mikael Sandberg - Could you elaborate more on below point please? You have to make sure Story Points is on the edit screen.
In my Jira Issue i can see the Story Points field available and manually i am able to update as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to make sure Story Points is on both your create screen and edit screen. Go to project settings and check you screen scheme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, take a look at this thread, https://community.atlassian.com/t5/Jira-Core-Server-questions/Jira-REST-API-Create-Issue/qaq-p/213945
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of using "Story Points" have you tried using the ID for the field instead? It is something like this: customfield_123456. You can get the ID by going to Issues > Custom fields, search for Story Points and then click the three dot menu and hover over Details. The URL will show you the ID, it is the last part of the URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried with the above suggestion but still no luck. PFB Error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As suggested above, the clue is in the error message.
Configure your Screen to include Story Points.
To update, you must use the custom field id. To find this, just do a Get on the request and see which custom field related to Story Points and then you should be good to go!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using the correct custom id, and my screen shows the field, but this doesn't seem to work.
Has anyone been able to make story points work? I'm able to set every other field.
UPDATE!
I made this work by using the REST "update" property instead of the "fields" property.
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.