Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I am trying to set up two email notifications and need the filter please

Bodalia, Akash (Project Manager) December 22, 2022

1. Trying to set up email notifications for when an issue is created with "Reg, Compliance and Audit" checkbox is ticked.

2. Trying to set up email notifications for when an issue is created When the "priority" field is selected as blocker. 

Thanks in advance!

1 answer

1 vote
Marta Woźniak-Semeniuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2022

Hey :) Welcome to Altassian Community!

You can use JIRA automation
trigger "Issue created"
and then specify the condition if field [the field you are using] equals "Reg, Compliance and Audit"
then action send email notification

Another rule for a the priority field or just add if/else to the frirst automation.
If you need help setting this up - let me know.

Bodalia, Akash (Project Manager) December 22, 2022

Hi Marta, 

Many thanks for your reply. 

I'm really new to Jira and learning the filters. I have set this up doe items with a due date but struggling with the filer codes for anything else. For instance I don't even know what trigger refers to :/ 

Rilwan Ahmed
Community Champion
December 22, 2022

Hi @Bodalia, Akash (Project Manager) ,

Triggers start the execution of a rule. i.e. they are actions like create ticket, update ticket etc.
Triggers can listen for events or be scheduled to run.

When you go  to your project settings --> automation --> Create new rule
The list which shows in new page are triggers 

The image below shows the some of the triggers available. 

More details about the automation is mentioned in https://support.atlassian.com/cloud-automation/docs/create-and-edit-jira-automation-rules/

image.png

Marta Woźniak-Semeniuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2022

Okay, no worries :) I will help. JIRA Automation are automated rules you create for the system to do certain things when A happens, including some conditions to narrow down and telling what action you want the system to do for you. 

  1. First we need to go to automation in your project. To do that we click on the "Project settings" in the left hand menu, on the bottom
  2. then we go to automation on the left hand menu 
  3. Then we click "Create rule" 

 

Now we are in the in Automation creation screen

  1. First we need to tell JIRA what should "trigger" the automation - this is your WHEN - so "When issue is created"
    1.JPG
  2. But - we want this ONLY when a certain field has a certain value so - we add a condition IF
    We will check a field on an Issue so we choose "Issue fields condition" 
    I don't know what is the name of the field you want to use so I will use an example - I want my field "Labels" to egual to "It_works" - here you will choose your field and your field input "Reg, Compliance and Audit"
    2.JPG
  3. Now let's tell JIRA what to do in sucha case - let's choose an ACTION
    I will use example, cause I do not know what you want to put in the email or who should receive it. I will set email to go to users in "administrators" group and the mail will just tell them the issue was created.
    3.JPG

4. Now we just add a name and turn the rule on.

4.JPG

Now I would just go and create an issue with that label and see if the email is send

Let me know if it is clearer now :) 

To learn more about JIRA you can also watch YT channel from Atlassian https://www.youtube.com/watch?v=GQlewFPxglk - there are a lot of useful step-by-step instructions :)

Bodalia, Akash (Project Manager) December 22, 2022

Hi @Marta Woźniak-Semeniuk

Thank you so much for your help and time with this, I have just tried to do the above but I don't seem to have the same settings shown in your screen shots I don't have an option for "Automation".

Please see below: 

Project Settings.PNG

To set up email due date(expiring in 5 days) how I have been doing this on this instance is via clicking "Issues" -> Search for Issues then using this formula: 

project = "Sky OTT Data" AND duedate is not EMPTY AND resolution is EMPTY AND due < 5d AND assignee = abi49

 

Trying to figure out a code as per the above for "Reg, Compliance and Audit" impact. 

 

Thanks in advance,

 

Akash 

Marta Woźniak-Semeniuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 23, 2022

It looks like you do not have the permissions needed for automation - please contact your project administrator or JIRA administrator and ask for either the permissions so you can do it yourself or their help in setting the automation for you, 

Bodalia, Akash (Project Manager) December 23, 2022

Edited message below*

 

Marta Woźniak-Semeniuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 23, 2022

This does not change anything :)

Bodalia, Akash (Project Manager) January 3, 2023

Hi,

@Marta Woźniak-Semeniuk Thanks for your message and hope you had a good Xmas and New Years. Just to politely come back to this I have realized this is Jira Cloud and unfortunately my admin Jira user group will not up my permission levels to follow the steps above. Would you know if there is a filter query to set this up? Similar to my "due date" email notifications? 

Thanks in advance!

Kind regards, 

Akash 

Bodalia, Akash (Project Manager) January 12, 2023

@Marta Woźniak-Semeniuk @Rilwan Ahmed This is the code I use in quick filter to set up when an issue is due in 5 days: 

project = "Sky OTT Data" AND duedate is not EMPTY AND resolution is EMPTY AND due < 5d AND assignee = abi49

 

I'm trying to create a code to set up an email notification when a issue is created and "Reg, Compliance, Audit impact" tick box is selected. I'm really struggling in working out this code....

Would anyone be able to help?

Much appreciated, 

Akash 

Suggest an answer

Log in or Sign up to answer