Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation "Related issues condition" Stopped Working

Jeff Hooper October 5, 2023

I have an Jira Software automation rule which triggers on a Task update, finds the "Epic (parent)", and checks for any "Sub-tasks" (i.e., Tasks under that Epic) that are in Status of "To Do". It worked perfectly through 09/26/2023. But starting on 09/27/2023, it has been finding "no match" on the Related issues condition.

What do I need to change in the rule, to react to whatever was changed by Atlassian? Thanks for any guidance.

Automation_Problem_20231005_1.pngAutomation_Problem_20231005_2.png

2 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2023

Hi @Jeff Hooper 

Although it was possible for a while to create Subtasks under an Epic, that is not a normal practice supported by the out-of-the-box issue hierarchy.  Regardless...

I wonder if the recent changes to sunset some of the Epic fields (which seems to be completing work) caused an issue for your rule.

If you post images of your rule that may provide context to explain what you are observing.  Please include...

  • your complete rule (in one image),
  • images of any relevant actions/branches, and
  • the audit log details showing the rule execution examples when it worked as you expected and when it did not, and...
  • please explain the business problem your rule is trying to solve.

Kind regards,
Bill

0 votes
Tim C
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2023

Hi @Jeff Hooper 

Obviously, "sub-tasks" don't themselves sit directly under "Epics" but under the imain ssues types which are being children of Epics.

I have no idea if was working for you why it's now stopped.

However, I just checked that this JQL works fine as "branch" in automation (on cloud) ... assuming your running against a main issue ...

issuekey in portfolioChildIssuesOf("{{issue.epic.key}}") and issuetype = sub-task and status in ("To Do")

This finds any sub-tasks under any of the issue(s) within the Epic - in my case I added a comment on each and worked fine.

parent-10-05.png

I hope this workaround helps?

Thanks,

TC.

Jeff Hooper October 5, 2023

@Tim C thanks for the response. It was working for months, until it promptly stopped. If I can't get an explanation regarding what changed (and how to adapt to that change), then I'll try your proposed workaround.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 4, 2023

Hi @Jeff Hooper 

Just following up to check if Tim's response answered your question.  If so, please consider marking this one as "answered".  That will help others with a similar need find solutions faster.  If not, please let the community know what help you need with the rule changes.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events