"@Adam Bob - ABC-123 is blocking this ticket and has been open for 90+ days"
Hello @Timi Falusi
Yes, and Yes.
If you can formulate a JQL statement that would retrieve the desired issues you can use that in a rule.
You can use the linkedWorkItems() JQL function.
https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#linkedWorkItems--
The exact structure of the rule would take some additional exploration of your use case, as you want to look for Epics that meet your criteria, but also pull data from a subset of issues linked to those Epics.
And, it is possible to mention a user in a comment. You may have to take some extra steps to get the assignee of the linked issue.
A question I would have for you is how will you know that the blocked issue has been open for 90+ days specifically because of the blocking issue?
Hi @Timi Falusi
First thing, what do you mean by "has been open for 90+ days"? For example, perhaps work items which are in progress that long?
If you started with the blocked items, ignoring the parent, you could use JQL to find them:
project = myProject
AND workItemLinkType = blocks
AND statusCategory = "In Progress"
AND NOT status CHANGED AFTER -90d
ORDER BY Key ASC
A check to only note items with an Assignee and Parent work item could be added to the JQL, as needed.
If this was used with the Lookup Work Items action, the distinct parent's could be found, and then a single comment with mentions added to it for the linked, blocking work items and their assignees using an advanced branch over the parent keys.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.