Notification Set Up

Is it possible to set up notifications based on when an issue is created and it is a certain priority (critical in this case), where a certain group is notified and or automatically added as watchers to the issue?

If so, how is this accomplished?

3 answers

Hi Jared,

You can set up JIRA to notify users when an issue is created (see Notification Schemes) but notifying based on priotity is not possible out of the box.

There is a feature request for it though:

https://jira.atlassian.com/browse/JRA-2115

The feature request also describes a workaround that may work for you.

-Simon

Hi Jared,

It's possible to do it using JIRA Workflow Toolbox plugin. You have to add two post-function provided by this add-on to transition "Create issue":

1.- Use post-function "Set a field from a set of rules based on regular expressions" to set auxiliary virtual field "Ephemeral string 1" with the name of a group (e.g. "Critical watchers") in case field "Priority" is equal to "Critical".

2.- Use post-function "Add or remove watchers" to set the users in field "Ephemeral string 1" as watchers.

You can see in the following screenshots the way to configure these post-functions:

* POST-FUNCTION 1: "Set a field from a set of rules based on regular expressions"

* POST-FUNCTION 2: "Add or remove watchers":

* THE TRANSITION CONFIGURED:

This is actually pretty cool and it seems to work well. I just have problem that I can't figure out. I have used the example above which works great. Point is that I want it work not for all projects that use the workflow. I have tried to add a projectkey to it so I can limit it to 1 project now (and later expend to more) but no result.

Any idea or maybe examples how I could get this working?

Thanks in advance...

Hi Kega,

You can do it evaluating a text composed of project key and priority instead of only priority. This way the regular expression associated with the setting rule must match both project and priority.

In the following example we suppose we want the same behaviour as in previous but limiting it only to project with key "CRM".

* POST-FUNCTION 1: "Copy parsed text to a field"

* POST-FUNCTION 2: "Set a field from a set of rules based on regular expressions"

* POST-FUNCTION 3: "Add or remove watchers":

* THE TRANSITION CONFIGURED:


a combination of filters and subscriptions would help though

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

422 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you