Hi,
How can I update the Team value (from Advanced Roadmaps) using REST API?
If I GET the editmeta
for an issue, e.g.: http://localhost:2990/jira/rest/api/2/issue/10008/editmeta
I get:
"customfield_10008": {
"required": false,
"schema": {
"type": "any",
"custom": "com.atlassian.teams:rm-teams-custom-field-team",
"customId": 10008
},
"name": "Team",
"fieldId": "customfield_10008",
"operations": [
"set"
]
},
so then I tried updating with:
PUT http://localhost:2990/jira/rest/api/2/issue/10008
with the body:
{
"update": {
"customfield_10008": [
{
"set": {
"id": "3"
}
}
]
}
}
but this results in a 400 Bad request:
{
"errorMessages": [],
"errors": {
"customfield_10008": "operation must be string"
}
}
As a comparison, I tried the same pattern but for priority
which works just fine.
Am I missing something here or does the Advanced Roadmaps and the Team field differ somehow?
Thanks,
Fredrik