Forums

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

Notification on # of sub-tasks in parent

Kelly Hawke
Contributor
October 17, 2022

Situation:

We have a team that plans to open a Jira parent ticket for a specific application (ie. ABC) each day.  For every prod issue, a sub-task is opened.

If within any 24 hr period, 10 (a pre-defined number) sub-tickets are  associated to the parent, they want Jira to send a notification.  Is this doable? (this notification ultimately be a trigger to a different process outside of Jira)

(note this isn't my process to define...but if anyone has any ideas - I'm open to convincing my client to do differently)

2 answers

1 accepted

0 votes
Answer accepted
Kelly Hawke
Contributor
October 17, 2022

Jira Data Center...and using 8.20.11. 

From what I know, client just wants to send an email notification (for them to trigger another process in another tool).

Kelly Hawke
Contributor
October 18, 2022

Thanks....we've already got our eyes on the Automation plugin.  We'll look into it!

1 vote
Trudy Claspill
Community Champion
October 17, 2022

Hello @Kelly Hawke 

Are you using Jira Server or Jira Data Center? And what version are you using?

Depending on the above, you might automatically have access to Automation for Jira, or that may have been installed on your instance. That could be one way to handle this.

What information needs to be in the notification? Are you wanting to send an email or do you need to trigger an API or Webhook?

Trudy Claspill
Community Champion
October 17, 2022

If you have the skills for coding a solution you could look at developing a Listener.

https://confluence.atlassian.com/adminjiraserver0820/listeners-1095776617.html

Through that you could "listen" for the addition of sub-tasks and then execute code to determine if 10 sub-tasks had been added in a day to the parent issue, and subsequently send an email.

 

Another possibility could be using the Adpatavist ScriptRunner app. That would require more coding capabilities. That app also has the concept of Listeners and executing scripts based on events. 

 

Automation for Jira might be another way to address the need.

Automation for Jira was not bundled with DC 8.20, but it is a free app you can add to that version:

https://marketplace.atlassian.com/apps/1215460/automation-for-jira-data-center-and-server?tab=overview&hosting=datacenter

Do you have any familiarity with Automation for Jira? With it you create Rules that are activated by Triggers. You can add Conditions, Branching, and Actions. Documentation can be found here:

https://confluence.atlassian.com/automation

You might be able to find a way to structure a rule through that feature to get the end result you want. It definitely has a Send Email action. The tricky part would be detecting that 10 sub-tasks had been entered in one day. 

Suggest an answer

Log in or Sign up to answer