I have a custom variable called Assigned Team. I want to write a jira query that limits the results to only when Assigned Team is not equal to itself for a particular linked dependency.
Here is my starting point. This will provide me with the stories and bugs for each of the teams that have a particular inner dependency of "is Blocked by" and "dependent on". How to I create the join to combine this list with the issue's outer dependencies but not include those where the assigned teams from the joins is equal,
"Assigned Team" in ("Team1", "Team2", "Team 3") AND issueLinkType in ("is blocked by", "Dependent On") and Status not in (closed, "Pending Release") AND issuetype in (Bug, Story)