Hello - I need to create an auto-trigger notification 'if the issue type field value changes from Epic to any other issue type value'. Can you share guidelines on this?
To start, I have 'when: value changes for issue type', however when reviewing 'if' conditions I am not seeing where I can go from here. I know how to create the 'then send notification', so just needing to filling the middle of the rule with correct logic. Thanks in advance.
Hello @Casey Enderlein
Welcome to the Atlassian community.
With the Field Value Changed trigger you have access to the original and new value for the changed field through the {{fieldChange}} smart value.
You could use a {{smart values}} Condition to check the former value and current value of Issue Type for the trigger issue. You can learn more about the fieldChange smart value here:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
Use one condition to check if the former value was Epic.
Then you can use a regular Field Value condition to check that the current issue type is not Epic.
Then add an action to send the email.
Hi @Casey Enderlein - Welcome to the community. It seems like you might be able to achieve this with the help of 2 automations and they will look something like below -
1. Trigger - Issue created and issue type = EPIC. Action - just add a label to the EPIC ticket.
( This rule will make sure you know which issues were EPIC when the issue type has been changed).
2. Trigger - Field value changes on Issue type and condition "issue type is not equal to EPIC" and also add labels in ("whatever label that was added in create in the first rule")
Action - Send notification and also remove the label from the ticket that is no longer EPIC.
I hope this will solve the problem and only touch issues which are moved from EPIC to some other issue type.
Thanks,
Bharat
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.