Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×I have an automation which sends a slack message when any of given fields (shown in attached screenshot) gets updated.
Is there a way to include the specific field that triggers each automation in the message? Instead of just a vague "Issue X has been updated."
Ex: If the Description of an issue is updated, I'd like the Slack message to say 'The Description of story X has been updated',.. same thing for any of the other fields
Hello @Fouad El-Gendy
You can use the smart value {{fieldChange.field}} to reference the field name which was changed.
If you want to reference the values which were changed... you can look at the below link for available options. Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding to Kalyan's suggestions:
Not all issue changes trigger the Field Value Changed trigger (or the generic Issue Updated trigger) and so not all of them are detected in the {{fieldChange}} smart value for Jira Cloud...even though those changes appear in the issue change history when viewing an issue.
Some of these gaps are apparently due to errors in changelog handling (e.g., list fields such as Fix Version and Sprint), while others appear to be automation design choices where there is a separate trigger to detect changes to some fields.
I recommend testing for each field you wish to track to confirm they are detected as you need.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bill. I keep forgetting to warn people of this behavior you have mentioned previously. I will try to clarify/state this point go forward!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed Bill, I did check and they seem to work just fine, thank you for pointing that out!
On another note, I did create a separate automation to send any updates to the comment section of specific issues, so yeah, there's that.
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.