Is it possible to add a Tempo Account when creating a jira issue with the rest API?
This is the account
"customfield_11961": {
"id": "2333",
"key": "SDFFF",
"name": "Web"
}
This is my request:
{
"fields": {
"project":
{
"key": "ORDERS"
},
"summary": "New Issue",
"description": "blabla",
"issuetype": {
"name": "order"
},
"customfield_11961": {
"id": "2333",
"key": "SDFFF",
"name": "Web"
}
}
}
I get this response:
Status: 400
Response: {"errorMessages":["Account id 'null' is invalid"],"errors":{}}
This works:
{ "fields" : { "customfield_123": "5" } }
Replace customfield_123 with the name of your custom field.
The number 5 in the above example is the account ID. Note that the account ID has to be a string, not an integer (so double-quote it).
Pass null (without quotes) to unset the account field:
{ "fields" : { "customfield_123": null } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.