Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,481
Community Members
 
Community Events
168
Community Groups

When all of one issue type in epic reach status, update epic (using multiple issue types in status)

Hi!

I've searched the community questions for this, but the only thing that came close was this

So I'm trying to have an epic update when all issue of type 1 reach a status, and issue type 2 can be ignored.

In the epic 2 types are living, stories and tasks

I tried the following:
- Have automation listen to the correct statussese (Alpha fixes or Beta revision)

- For Epic, if stories (or other issues in this epic) match JQL: issuetype = Story AND status = "Alpha fixes"

- Then Transition issue (epic) to 'copy from trigger issue'

 

This fails on me... any suggestions?

1 answer

1 accepted

Here's the overview of the automation, I tried to make it work for apha fixes first, before I add beta revisions to this automation :)

In below example, I would have expected when I updated story 2 to Beta revisions, the epic to be updated to this status too (which it didn't)

image.png

image.png

 

So above does not work... any reason?

frother Atlassian Team Mar 03, 2021

Hi Bart, 

I believe this is failing because not all issues in the epic are of type "Story", you have some tasks in there also.

Instead of checking "stories in epic" in your related issues condition, use JQL instead like this:

"Epic link" = "{{issue}}" AND issuetype = "Story"

Then all match jql

status = "Beta revisions"

Hope that works.

Scott.

This is amazing.... I would NEVER have come up with this, many thanks!!!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events