send email when the value of a field changes

José Manuel Martín Márquez
Contributor
December 19, 2024

I'm using Jira Product Discovery and i want to send an email when the value of the field "Estimated End Date" changes, so I created this Automation

 

But when the Estimated End Date value changes, the rule does not trigger. the value of this field is not set manually by the user, but is automatically filled in from the latest end date of all delivery tickets that are linked.

 

How could i resolve this problem?imagen (5).pngimagen (6).png

2 answers

0 votes
Boyan Iliev
Contributor
December 19, 2024

Hi @José Manuel Martín Márquez , the audit log can provide some clues on what is happening. Can you open it after an estimated end date changes and confirm if the rule executed at all? Is there an entry with an error, or maybe "NO ACTIONS PERFORMED", or there are no executions at all?

 

You can also try a manual change of the date and again review the audit log, to compare the outcome.

 

If the rule did not execute at all, I would assume something general is misconfigured. Maybe its on the wrong project, or you have multiple fields with similar names. Or as you suggested, "Value changed" does not pick up automatically filled values.

 

If the rule did execute - go to "show more" to review what each step of the automation did. Who triggered it - hopefully this automatic filling, did it pass the status check, etc.

 

Based on the above, we can definitely look for next steps.

José Manuel Martín Márquez
Contributor
December 19, 2024

Thanks @Boyan Iliev 

As you can see, after chaging the "end date" field for the Epic, the "Estimated End date" value changes well but the rule does not trigger

Captura de pantalla 2024-12-20 085342.png

I cannot change the "Estimated End date" value manually as it's configured to autofill dates. There is no other field with the same name and the project is the correct one.

I guess "Value changed" does not pick up automatically filled values but in that case the checkbox "Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule" makes no sense

 

Boyan Iliev
Contributor
December 20, 2024

This is probably the easier thing to troubleshoot, although the outcome might not be what you like. Here are few ideas:

  1. Can you double-check the "Field value change" trigger setup? Can you try to play with these to get the rule to pick-up the change:
    1. What is set for "Change Type"
    2. Did you set anything for "For"?
  2. Can you disable the auto filling and do a manual change, just to confirm this hypothesis? Of course - turn on the automation after that to avid issues in your project :)
  3. Can you double-check that the rule triggers on a different date type field change. Just to be sure its not some sort of restriction?
  4. Are there other things that change together with the Estimated End Date? Maybe you can use one of them to trigger the rule?
José Manuel Martín Márquez
Contributor
December 20, 2024

Thanks again @Boyan Iliev 

1- Change type is set to "Any changes to the field value" and there is no "For"

2- The rule trigger if I disable autofilling, so I guess i was right and "Value changed" does not pick up automatically filled values

Rik de Valk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2024

What is the type of field for this 'Estimated End Date' field? 

Are you a Jira Admin and can you see the Custom Field type and settings? 

José Manuel Martín Márquez
Contributor
December 20, 2024

"Estimated End Date" is a Date field but I'm not a Jira Admin

Captura de pantalla 2024-12-20 093602.png

Boyan Iliev
Contributor
December 20, 2024

This is not ideal. Here are two more things you might want to try:

  1. Is there another field/status/assignee/anything that gets updated as the date is changed? Try to pick-up the change indirectly.
  2. Contact Atlassian support. My personal experience is relatively good. Do not expect a quick fix if this is real bug on their end, but they might have a workaround for you.
Boyan Iliev
Contributor
December 20, 2024

It is a longshot, but you can test adding yourself to the project notifications: https://support.atlassian.com/jira-cloud-administration/docs/configure-email-notifications/ -> on "An issue is edited"

 

And after that in the email client, create a filter to pick-up only the 'Estimated End Date' field changes.

 

I would be careful with this as you might end up with a lot of spam.

José Manuel Martín Márquez
Contributor
December 20, 2024

I will try to contact support

0 votes
Rik de Valk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 19, 2024

Hi @José Manuel Martín Márquez , 

And welcome to the community!

In your first screenshot, you see the Rule details. At the bottom there is a checkbox "Check to allow other rule actions to trigger this rule". 

Once you select that and save your rule, it will also trigger on automatic changes to the field value. 

Have a nice day!

Rik 

José Manuel Martín Márquez
Contributor
December 19, 2024

Thanks for your answer Rik. Yes, after adding this question I tried selecting that checkbox but the rule still doesn't launch when the ‘Estimated End date’ value changes.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events