Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Email Automation Issue

Michael Bray June 21, 2024

I have set up an automation that sets the priority of an incident based on the impact and urgency, following that I want it to send an email to the support mailbox with the summary, description and priority.

The mail sends as expected but is displaying the default priority and not the actual priority, so no matter what the actual priority is the mail states that the priority is 3, which is the default.

Anybody able to help so that it displays the correct priority in the email?

Cheers

4 answers

1 accepted

3 votes
Answer accepted
Jovin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2024

Hey @Michael Bray

This comes down to when the issue data is retrieved by the automation. If you're modifying values and then sending the email, you're still looking at the original data set retrieved - confusing, right?!

Before you send the email insert an action called Re-fetch issue data, that will solve your problem :) 

Nicolas Grossi
Banned
June 21, 2024

@Jovin why is needed to call this function in 2 totally different actions ? I think there is an issue there.

 

Nicolas

Michael Bray June 21, 2024

Awesome thank you, been tearing my hair out on this one :-)

Jovin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2024

Hey @Nicolas Grossi - I see the screenshot of the automation below in reply to you; nothing is being modified in that current automation, but it looks like it's possibly firing BEFORE his prioritisation automation.

The separate action is required as when the automation starts it loads the data into "local memory" for quick referencing in the automation, the modification actions modify the database "remote memory". Before you then do anything else with it, you should re-fetch to get that latest version of data. You can see it here in the knowledge under "Re-fetch issue data" https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/

@Michael Bray - I'd suggest you merge your prioritisation automation into the email notification, doing the prioritisation before the email and include the Re-fetch issue data.

Nicolas Grossi
Banned
June 21, 2024

@Jovin Your explanation is perfect, but for me, there is an issue there sorry :(

Jovin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2024

@Nicolas Grossi - Yeah it's an unusual configuration of the product, but I'm sure it exists for some legacy reason 😂

Nicolas Grossi
Banned
June 21, 2024

snif snif :( :( I would like to hear the explanation of that "legacy reason" from the creator of that feature :)

1 vote
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2024

Welcome to the community @Michael Bray 

You can change the priority scheme for your project and choose the default priority for it.

Michael Bray June 21, 2024

yeh its not the default priority I want to change, its the priority reported in the email notification

1 vote
Nicolas Grossi
Banned
June 21, 2024

@Michael Bray Can you add details of your automation configuration and mail setup ?

 

Nicolas

Michael Bray June 21, 2024

image.png

0 votes
Nicolas Grossi
Banned
June 21, 2024

@Michael Bray And you are saying that issue priority is set on creation and it is different when the mail is send ?

 

Nicolas

Suggest an answer

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

Atlassian Community Events