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

Notifications automation

Dokic_ Djordje October 4, 2021

Hi all, 

I have a following automation which should trigger an e-mail notification being sent to a reporter if ticket has no attachments, but it doesnt seem to work, as no notification is being sent to a reporter, or others...

The first part works, but the second ("else") doesnt... And it should be working (as if there is no attachment in the issue, it should send an e-mail to the reporter.)

If statement.png

 

3 answers

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2021

Hi @Dokic_ Djordje , can you look at the email audit log and assess why the email is not issued?

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2021

Regarding your automation error, did the issue get assigned to the user triggering or not? If not could you try to reorder your automation to assign before the transition?

regarding the error associated with the manual transition can you share your validation details. I suspect you are requiring an attachment during transition vs. simply requiring the existence of an attachment.

Like Dokic_ Djordje likes this
Dokic_ Djordje October 5, 2021

Hi Jack and thanks!

The automation error was resolved by re-ordering. 

 

Regarding the validation - please find attached screenshots. Ive also found a workaround for this by adding a transition screen, but then it would require user to RE-add the attachment again, even if he did so in the initial creation step.

 

Attachments issue - VALIDATOR - JIRA.png

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2021

This Validator requires that you update the field during the transition which is made clear in the text of your image. Generally you use Conditions to prevent a transition if a preexisting condition is not met. You can setup as follows…

CC76425B-16AC-4A32-97DD-FBCEEBE83BD0.jpeg

use the “!=“ operator and leave value field blank.

Like # people like this
Dokic_ Djordje October 5, 2021

Hi @Jack Brickey , 

 

the method mentioned works and it solves the "validation" properly :) (like i responded above), however it doesnt indicate to the user why he cant switch a status which would be nice. 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2021

correct. conditions are silent.

0 votes
Dokic_ Djordje October 5, 2021

Hi @John Funk  and @Jack Brickey , 

ive rebuild the automation , and mail-sending works, but now ive got the following error message in the log (please see a screenshot).


Ive also tried to add a validation in the transition displaying a message if there is no attachment, but in that case - even if there IS an attachment - message is displayed and system reverts the status to "TO DO", which shouldnt be the case (Second attachment). Ive reported it on https://getsupport.atlassian.com/servicedesk/customer/portal/23/JST-697775 

P.S.-sorry for trouble but ive set everything else beside this, and its my third day on JIRA Workflow :)

Field issue.pngAttachments issue - JIRA.png

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2021

Hi @Dokic_ Djordje  - are you getting an error? Is it passing the second condition?

Can you post a screenshot of the audit log for the rule?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2021

You shouldn't have a validator AND try to send an email based on the validator failing. That's going to give you problems. 

Dokic_ Djordje October 5, 2021

I see... And yeah, it was giving problems, however - i presume when something is validated and denied, we should be able to inform the user, weather via direct message or an e-mail.
In this case, Jacks method of using the "!="  string - condition during transition works, however user cant see a reason why he can not switch a status.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events