I have a JIRA Software (Data Center) Automation script that does the following:
Script to take the custom field "Product" value and find the matching Component value (in the issue's project), sets the issue Component value and the issue reporter to the Component Lead
After the script executes I have a followup action which generates a notification to the issue reporter.
The problem is when the automation script executes the changes to the issue made by the script are not 'picked up' by the subsequent automation component which generates the notification. The notification is set to the issue reporter set before the automation activity starts.
How can I 'persist' the issue changes made during script execution so the notification is sent to the 'new' issue owner (the component lead) when the second automation component is run?
NOTE: the changes made to the issue by the automation script _are_ persisted to the database - after the issue is created (automation script listens for issue creation) the issue component is set correctly and the issue reporter is updated to the component lead. The problem is that the notification is sent to the actual issue reporter, not the person the issue reporter is updated to during the automation script execution. And it's not the standard 'new issue' notification, it's the custom notification defined in the automation rule.
This is what the 'Re-fetch issue data' is for:
That's exactly what I needed! Thanks man!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.