Filter subscriptions - send to custom field group?

I managed to make a subscription to a filter that sends e-mails to a group of users when the issue's due date has arrived (and it's not resolved yet). Is it possible to send these e-mails to a group that has been set in a custom field?

For example, let's say I have a GroupPicker custom field called "Responsible group". Then I have 3 issues A, B and C. Group1 is responsible for A and B. Group2 is responsible for C. All of the issues have the same due date.

Now, what I'd like to happen is, when the due date arrives, send all members of Group1 a mail about issues A and B, but Group2 - about issue C. And I'd like these e-mails to be sent periodically until they are resolved.

I was thinking about making the filter based on currentUser() being in "Responsible group", but I think JQL doesn't support that. Is there a way to do what I'm trying to? Maybe I need a plugin for that (can I make a plugin that runs itself on a timer)?

1 answer

1 accepted

This widget could not be displayed.
Penny Wyatt Atlassian Team Aug 26, 2012

Do you have many groups? It seems you're almost there with the out-of-the-box functionality. If you have a smallish number of responsible groups, you could just manually create that many filters and subscriptions.

e.g.

Filter: project=PROJ and MyGroupPicker="Group1" and duedate < startOfDay() and resolution is empty
Subscription: Email to Group1

Filter: project=PROJ and MyGroupPicker="Group2" and duedate < startOfDay() and resolution is empty
Subscription: Email to Group2

etc.

If it's a larger number of groups, you could write a throwaway script to submit the HTTP requests to generate the filters and subscriptions. Maintaining a plugin is expensive; I wouldn't recommend it for a simple task like this unless there's no other option.

Hmm, I hadn't considered doing it with a script, thanks :)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 8 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

22 views 0 0
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