Hello!
I have a structure formula column where I want to show an array of open issues of a certain type. We have a custom issue type called Risk. When I use the following formula I get all the linked issues of type Risk
Hi @Yvette Nash,
The issue you're facing is probably because of how Structure formulas handle the statusCategory property. In Structure formulas, you have to access the status category differently from JQL.
Here are a few approaches to try:
issueLinks.FILTER($.type = "Risks" AND $.status.statusCategory.name != "Done")
issueLinks.FILTER($.type = "Risks" AND $.status.statusCategory.key != "done")
If that doesn't work, try to use the resolution field:
issueLinks.FILTER($.type = "Risks" AND $.resolution = null)
The key difference from JQL is that Structure formulas require you to navigate the object hierarchy explicitly (e.g., $.status.statusCategory.name instead of just $.statusCategory).
Unfortunately, none of these worked.
There is also some very odd behavior I notice. Regardless of what I use after the AND operation, if it's a != operation, I get the whole list while if I use an = operation, the array is empty. NOTE: my test epic has multiple linked Risks, one is open and one is closed. I'm either getting the whole list or nothing at all.
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.