Forums

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

HOW CAN I GET A SINGLE TASK LİST FOR EACH ASSIGNEE?

ahmet can January 23, 2024

Hi  there i am using Jira 9.4. 

Using Automation tool i created a global rule with a jql:

project in (P703116, P659289, P659290, P640041) AND statusCategory not in (Done) AND reporter not in (projettt_user) AND type = "Toplantı Aksiyonu" AND "Beklenen Hedef Bitiş Tarihi" <= 1w ORDER BY cf[15600] ASC, cf[14702] ASC

With this jql ai send and aouto-mail notifications for each task to assignees.

 

I am trying to figure out how can i send a single 1 notification for each assignee's all tasks.

 

Is there anyone who achieved this?

1 answer

0 votes
Trudy Claspill
Community Champion
January 23, 2024

Hello @ahmet can 

You could achieve this by using a Saved Filter and having Subscriptions to the filter that periodically send the results to the recipients. You would need to add "AND assignee=currentUser()" to the filter so that the recipient would receive only the issues assigned to them.

If you want to do this with an automation rule, please show us the rule you have constructed so far.

ahmet can January 24, 2024

Hi Trudy,

Subscriptions are taken by the assignees manually i.e. it is a "pull" communication method.

I am trying to "push" the info without end user consent.

How i did it so far is as follows:

1)Go to Project Settings>Automation Dialog and Create Rule

 

Ekran Alıntısı.PNG

 

2)Give a name to your rule

Ekran Alıntısı.PNG

3)Add a new trigger SCHEDULED

Ekran Alıntısı.PNG

 

4)Configure the JQL and freq. of the notification(Fixed rate or Cron Exp whatever your want. Here i user the Cron Exp:0 0 8 ? * MON,TUE,WED,THU,FRI * and the JQL:project in (P703116, P659289, P659290, P640041) AND statusCategory not in (Done) AND reporter not in (projettt_user) AND type = "Toplantı Aksiyonu" AND "Beklenen Hedef Bitiş Tarihi" <= 1w ORDER BY cf[15600] ASC, cf[14702] ASC)

Ekran Alıntısı.PNG

 

5) Add a new Component>Action>Send email

Ekran Alıntısı.PNG

 

6)Configure the email that will be sent. You can customize the Subject, Mail Body and the recipients.

Here i user as the Subject:{{issue.key}} {{issue.summary}} Beklenen Hedef Bitiş Tarihine 1 Haftadan Az Süre Kaldı!!! 

Mail Body:

{{issue.key}} nolu {{issue.summary}} taskınızı tamamlandıysa Done(Tamamlandı) yapmanız, gecikme durumu varsa proje yöneticisini bilgilendirerek Beklenen Hedef Bitiş Tarihi alanını güncellemeniz gerekmektedir.

Beklenen Hedef Bitiş Tarihi:{{issue."Beklenen Hedef Bitiş Tarihi"}}

İlgili taska şu linkten ulaşabilirsiniz:
https://jira.t*****.tr/browse/{{issue.key}}

Üzerinizdeki tüm açık taskları şuradan görebilirsiniz:
https://jira.t****.com.tr/issues/?jql=project%20%3D%20{{project.key}}%20AND%20resolution%20%3D%20Unresolved%20AND%20assignee%20in%20(%22{{assignee}}%22)%20ORDER%20BY%20cf%5B15600%5D%20ASC%2C%20priority%20DESC%2C%20updated%20DESC

Selamlar.

ACA

Ekran Alıntısı.PNG

7)Save and Publish the rule

 

Ekran Alıntısı.PNG

 

8)Run the rule

Ekran Alıntısı.PNG

9)Check the Audit Log

Ekran Alıntısı.PNG

 

10)If everything you've done is right, voila here is the email sent to assignees

Ekran Alıntısı.PNG

ahmet can January 30, 2024

Hi @Trudy Claspill did you get my message? Does it work for u 2?

Trudy Claspill
Community Champion
January 31, 2024

Hello @ahmet can 

I did not see your update. Notifications from the community were broken for a short period of time.

With a Schedule trigger when you include a JQL in the trigger then the remaining steps in the rule will be executed for each issue found by that JQL. That is why you are getting an email for each issue.

My first thought was to suggest that you remove the JQL from the trigger and use a Lookup Issues action to look up the issue list instead. You could then send one email for the list, formatting the content of the email to list each item returned by Lookup Issues. You can see an example of that in the documentation under the Lookup Issues action heading.

https://confluence.atlassian.com/automation/jira-automation-actions-993924834.html

However, that does not give you a list per Assignee.

In Cloud there is a concept called Advanced Branching that would allow you to create a branch based on the distinct values in the Assignee field in the Lookup Issues results. That feature doesn't appear to be available with Automation for Jira Server/Data Center.

Without that you would need to create a separate Lookup Issues action for each expected Assignee value, including criteria in the JQL to select issues based on the Assignee. Then follow each Lookup Issues action with a Send Email action to send that list to the Assignee.

Like ahmet can likes this
ahmet can February 17, 2024

create a separate Lookup Issues action for each expected Assignee value

10x for reply. I am a Project Man. there are many stakeholders so the solution is not efficient 4 me.

I was using Raley add-on before but it needs Cloud license.

Is there any other Add-On that will work me?

Trudy Claspill
Community Champion
February 17, 2024

I am not aware of a plugin for Jira Data Center that does that, but you should search for yourself at https://marketplace.atlassian.com

Suggest an answer

Log in or Sign up to answer