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.
where I can add a condition (depending on the value of a custom field) with a postfunction (send email)
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"
Do you have any solution?
The Jira is: Jira Software 8.6.1 Server version.
Thank you in advance
Hi @Monica Ferrer ,
If you have a JWME plugin, you can use a postfunction - Email Issue Post-function. This can be sent based on condiitonal execution.
With script runner - you can use Fires an event when condition is true [ScriptRunner] . This option Fires an event that can be picked up by a notification scheme, in order to send mail only under certain conditions, eg Priority is Blocker.
I hope that helps.
@Monica Ferrer I tested the conditional execution part and it is working as expected. Triggers an email. The error message says it is due to the unsupported content entered. Kindly check the values entered for all the fields in the create issue screen.
Something like a text value on a number field.
Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events