Hi. I found many answer for jira server but dont work for me. I need answer for jira cloud.
Thanks so much for any answer.
this dont work:
'fields' => [
'summary' => $name,
'issuetype' => [
'id' => '10085',
],
'project' => [
'key' => 'BS',
],
'customfield_10666' => [
'value' => 'something',
],
];
this dont work:
'fields' => [
'summary' => $name,
'issuetype' => [
'id' => '10085',
],
'project' => [
'key' => 'BS',
],
'customfield_10666' => [
'id' => '102554',
],
];
this dont work:
'fields' => [
'summary' => $name,
'issuetype' => [
'id' => '10085',
],
'project' => [
'key' => 'BS',
],
'customfield_10666' => [
'set' => [ //update dont work too...
'value' => 'something',
],
],
];
and the Id is definitely ok. I found it with this:
https://blahblah.atlassian.net/rest/api/latest/issue/BS-666/editmeta