I'm trying to create an automation that will notify Slack whenever the people field has been updated.
Example:
People field name: Other Assignees
User: John Doe Sample
Message:
"John Doe Sample has been added to Other Assignees"
Hi @John Jemuel Lopez -- Welcome to the Atlassian Community!
What have you tried thus far to solve this need?
If you have started an automation rule, please post images of your rule and audit log details, and explain what is not working as you expected.
If you have not started a rule, you could use a field changed trigger and the field change smart values to access the value differences: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
To get you started on creating your rule, please refer to these documentation and example sources:
Kind regards,
Bill
Hello! @Bill SheboyThanks for your reply
Here is the image of the rule
Other Assignee is the name of the "people" field I added in the story issue type.
Basically the it's kinda working since it sends a message in slack, but It does not return the name or names in the "people" field I added.
I am still new to JIRA Automation and I'm not sure if I used the correct the smart value in the rule. (basedon the image).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for posting that rule image, John.
I hypothesize the problem is the smart values are incorrect, and so they only return null values.
Smart values are name, spacing, and case-sensitive. And, they often do not match the display name on the issue views. To confirm the correct smart value (or the custom field id), please use the how-to article linked below. Essentially the steps are:
yourJiraURL/rest/api/2/issue/yourIssueKey?expand=names
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.