A PUT to /rest/api/3/issue/properties/{propertyKey}
with
{
"value": {
"type": "lozenge",
"value": {
"label": "2019-04-28 ... 2019-05-12",
"type": "moved"
}
},
"filter": {
"entityIds": ["28820"]
}
}
return 200 and a body with task information. But the same call made from an app returns success, 303 and empty body:
const url = `/rest/api/3/issue/properties/{propertyKey}`;
httpClient.put({
url,
json: {
value: {
type: 'lozenge',
value: {
type: 'moved',
label: lozengeMessage
}
},
filter: {
entityIds: issuesAssignedToUser
}
},
contentType: 'application/json',
"x-atlassian-force-account-id": true
}, (err, res, body) => {
if (err) {
reject(err);
} else {
resolve(body); // End up here ...
}
});
What is the difference?