I am trying to set sprint id using JIRA automation to assign a card to a specific sprint in the future that isn't the "next sprint".
I have found sprint ID by going to to /rest/api/2/issue/<issueNumber>?expand=names, as well as inspecting element in dev tools. I have also confirmed customfield id for Sprint.
This is the advanced JSON I am using:
{
"fields": {
"customfield_10010":"275"
}
}
And this is the error I am seeing in Audit log:
Error editing issuesCRM-10274 (Number value expected as the Sprint id.)
Any ideas as to why I am getting this error?
If anyone gets stuck on this in the future I figured it out...
{
"fields": {
"sprint": 275
}
}
if you need to assign a text value in another field (like a text customfield), you may use
{
"fields": {
"customfield_10001": "xxx"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was unable to get the 'Single-select custom field' working according to this article.
I ended up re-purposing an old sprint we no longer used.
{
"fields": {
"sprint" : 3
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you need to create a Story and assign it to a Sprint based on user input (say in Jira Service Management) it's as easy in automation as copying from triggering issue. No need to get it's ID vs it's value.
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.