i write a lot of JIRA Automation rules to connect JIRA to SLACK, based on triggered events occurring in JIRA.
I'm looking for two things:
1. the basic macro that lists out all LINKED ISSUES.
i've been trying to use {{issue.issuelinks.first.inwardIssue.key}} but that returned a blank/NULL
2. macro for most-recent / new linked issue.
this way i can program an initial alert for ALL LINKED ISSUES, and then a second alert if a new linked issued is linked.
--COPY OF MY AUTOMATION JIRA TEXT WITH CURRENT MACROS--
*---NEW LINKED ISSUE----*
*JIRA:* {{issue.key}} *
Link:* <https://tihealth.atlassian.net/browse/{{issue.key}}>
Program Status is now set to: {{issue.status.name}}
---
Linked Issues: {{issue.issuelinks.first.inwardIssue.key}} <--this doesnt work
---
Tag Type Setting: {{issue.fields.customfield_11182}}
---
::DCM IDs:: Profile: {{issue.fields.customfield_11269}}
SubProfile: {{issue.fields.customfield_11270}}
Campaign: {{issue.fields.customfield_11271}}
Partner ID: {{issue.fields.customfield_11289}}
Auction ID report scheduled: {{issue.fields.customfield_11272}}
-------------------------------