I've created a custom field in Jira called "Organization". Internally its customFieldId = 10539. It's a simple drop-down listbox where one string value inside can be selected.
In Jira Automation I've added a new action that sends a Slack message to a particular Slack channel. In general it works fine but I'm struggling to get it to send the newly set value of "Organization".
Here's an example of the the overall message I want to send:
Issue <https://mycompany.atlassian.net/browse/{{issue.key}}|{{issue.key}}> has had its Organization field set to: {{issue.customfield_10539.value}}
But everything I've tried to represent the custom field value has so far failed. Here's what I've tried:
- {{issue.Organization}}
- {{issue.organization}}
- {{issue.Organization.value}}
- {{issue.organization.value}}
- {{issue.customfield_10539}}
- {{issue.customfield_10539.value}}
But not one of them displays the value of "Organization".
Incidentally, this was one of my prime references: https://docs.codebarrel.io/automation/smart-fields/advanced-fields.html
Any ideas on what the correct syntax might be?
Robert