Hi Team, I am trying to update my primary issue.here i am getting
ERROR 13:23:32.519 d86df3a5-d37c-4cac-abd8-bc80a28c865a Error: {“size”:0,“timeout”:0} - Bad Request.what is the mistake in this.can you share your ideas?
my request payload
// Merge description
const mergedDescription = `${primaryIssue.fields.description}\n\n---\n\n${secondaryIssue.fields.description}`;
// Update the primary issue with merged details
let response = await api.asApp().requestJira(route`/rest/api/3/issue/10119`, {
method: 'PUT',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
fields: {
// description: mergedDescription,
"description": "Updated description"
}
})
});