I want to create an automation in my projects and every time someone change the priority to highest and every time someone change the status to escalated an email should be sent to the Assignee , Watchers , The lead of the project , and a separate email address in the company.
I don't know how to set up the content for the email that will appears in the email that will be sent. I want it to be appearing like this .
Do i have to change the workflow or check the transition in there?
Status: |
|
Hi @Eleftheria Sourla , if you wish to include the previous status then you will need to create a custom field where you can record this information in a separate automation rule. It would look basically like this.
rule 1 (creation):
rule 2 (updated):
Hey @Jack Brickey thanks for the response , but I am not sure if I have understand the rule creation. About the rule 2 . First do i have to create the rule 1 and then i am gonna update the 1 and will be renames as rule 2? Also what about the escalated status ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Eleftheria Sourla ,
sorry I was not quite clear and I forgot an important step in my second row, so let me try again.
so here is the updated proposal...
rule 1 (issue creation):
rule 2 (updated priority):
I hope this makes sense. Please give it a try and if you get stuck post your two rules here so I can assess.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jack Brickey I have some questions . First of all where am i supposed to add the custom filed ?
Also
i cannot add highest and escalated in the same condition , i have to crate a new one
And last one :
Thank you so much for you help
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Eleftheria Sourla ,
to create a custom field:
now for automation rules, here is an example of "rule 2":
in the above, you will see are use "previous priority" as my custom field however, you can name that field anything you want.
The above action is used to update your custom field. Please note that I don't have "previous priority" as a custom field so in my example I chose "my text".
I believe that rule 1 should be pretty straightforward, but if not, let me know. Finally, I have not tested this and so some tweaking may be needed to get the end result that you desire. Hopefully what I am provided here will get you going in the right direction. Keep me posted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oh, one of the thing, my example does not exclude the scenario where someone changes from highest to escalated, or vice versa. I am unsure what you would want to happen in that scenario. If you wanted to exclude that from the rule being executed, then a slight change would be needed, specifically you would need to add a condition that verifies that the previous priority, was not one of highest nor escalated. However, if you would want the rule to execute and send the email, then no changes would be needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and at the risk of rambling on...
if you don't really need to express the previous priority in your email, then you don't need any of that complexity of custom field and such. You could simply use something like the following single rule. Of course, add the action to send the email, but he would only indicate what the new priority is in your body not the previous.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jack i will try those steps tomorrow and will keep you updated but the point is that I need to create 2 deferent rules one for the escalated status i mean when the status from any other status changes to escalated and another one for priority change to highest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure why you would need separate rules for the two different priorities. I must be missing something in your requirements. Even if you need to send a different emails based on the loose priority, you could do that in Rule 2 by adding an, if else condition... if priority = highest then send highest email, else send escalated email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jack Brickey Maybe I haven't understand how it needs to be done and I thought it must be in separate rules .
To concluse , I want a rule that will inform via email the assignee , the watcher and the leader of the project (i don't know if it is possible) and the email will be send to them when the ticket changes to priority highest or when the ticket goes to escalated status . My problem is that i don't know how to "print" this thought the email I want to be sent . I want something like this
But to inform you this form is used by a project that is service management . The projects i want to apply my rule is company managed business .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure but i think i have find the source that i have to change in case to create the kind of rules i want but i dont know the right way .If you have any idea let me know .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Eleftheria Sourla ,
let me step back because I feel as though I am off track.
by design Jira sends notifications when an issue transitions to a new status to all parties associated with the issue in question. This includes the assignee, the reporter, and all watchers. Is this not happening? You mention that you want to notify the assignee, the watchers and the project lead. by default, the project lead is not notified on every issue. for that to happen, the project lead would have to be a watcher of each issue (or of course they could also be the assign or reporter).
If users are not seeing notifications, can you check the Notifications settings under project settings? Also the user has personal settings that could override the project settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, please note that you will not be able to achieve the precise formatting that you are illustrating in the body of the email. You can certainly indicate the same information by simply saying previous status was and new status is or whatever text you desire.
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.