Hi,
the use case is that i would like to update an issue field with some of its *specific* link issue type keys. for example, issue A is blocked by issue B and relates to issue C.
i want an issue field of A to contain the value B but not the value C.
im using this in the json edit:
{
"fields": {
"customfieldName": "{{#issue.issuelinks}} {{#if{{equals(type.id, 10002)}} {{inwardIssue.key}} {{/}}{{/}}"
}
}
i know that 10002 is the correct id that i need. i checked the json view of the issue, and also printed the type.id into the log.
however, using the syntax above, it doesnt add the relevant key.