Hi, I've already search about this in the community and other sites but nothing...
When I create a ticket from my CMS with one (or more) attachments, it is correctly created on the Jira Board, even I can see the attachments, now, when in my app that sends the webhook I want to get those files, it returns a empty array (the others fields it is ok).
How I get the values (all ok, except attachment):
REQUEST:
var issue = {
id: req.body.issue.id,
key: req.body.issue.key,
priority_name: req.body.issue.fields.priority.name,
priority_id: req.body.issue.fields.priority.id,
status: req.body.issue.fields.status.name,
summary: req.body.issue.fields.summary,
description: req.body.issue.fields.description,
client: client,
type: req.body.issue.fields.issuetype.name,
attachment: req.body.issue.fields.attachment
}
RESPONSE:
{
id: '21098',
key: 'MC-3796',
priority_name: 'Medium',
priority_id: '3',
status: 'Por hacer',
summary: 'test imagenes',
description: 'test attachment',
cliente: '10000',
type: 'Bug',
attachment: [],
fecha_c: 2018-10-26T12:50:30.810Z,
mail_destino: null,
reporter: 'Ale'
}
If somebody knows what it's happens... thanks
Note: sorry for my english :P