Forums

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

custom field email notification - Kanban

Monica Ferrer
June 7, 2021

Hi,

I have a Kanban project with a specific workflow and what I need is that in the CREATION of a issue, depending on a custom field, Jira sends an email to specific addresses.

Looking at the postfunction in the workflow I see that on the status "Created" I cannot put any condition (where I can set for a specific value of a custom field send the notification to someone, if that custom field has another value, send it to another person). However, in other workflow status (after de "creation") I do can.

Below the step in the workflow and the impossibility of creating a postfunction based on a condition.

 

image.png

 

versus: 

 

image.png

 

where I can add a condition (depending on the value of a custom field) with a postfunction (send email)

 

image.pngimage.png

 

Is any other way to make this condition as soon as an Issue is Created?

 

On the other side, on the "Notifications" section, I can create emails depending on the issue status for specific custom field, but it does not appear in the list all the custom fields, because there are only "Users custom fields"

 

image.png

 

Do you have any solution?

 

The Jira is: Jira Software 8.6.1 Server version.

 

Thank you in advance

1 answer

1 accepted

0 votes
Answer accepted
Tanner Wortham
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 Champions.
October 30, 2013

instead of a post function, create a listener that executes on issue creation. in your code, look to see if it's a sub-task that's just been created. if so, then grab the watchers from the parent and add them to your new sub-task.

Suggest an answer

Log in or Sign up to answer