for a given Feature i would like to get the list of issues that are in the Risk and Dependencies section regardless of the Issue Type and Link Type.
We have several issue run the Risk or Dependencies section and they have different issue types and different link type (ie - blocked by, blocking etc..).
Hello @michael_kanner
Welcome to the Atlassian community.
I'm not familiar with any native function that provides a "Risks or Dependencies" panel within a Jira issue.
Could you provide a screen image that illustrates that section? Perhaps it came from a third party app? Or are you looking at a different screen (not an issue details screen)?
Also please let us know if you are using Jira Data Center or Jira Cloud.
Thank you for providing that screen image.
Please let us know if you are using Jira Data Center or Jira Cloud.
If you are unsure, click on the Help button in the upper right near your avatar in the menu bar. From there click About, and show us what you see.
I am not aware of the Objectives, Dependencies, or Risks panel being available natively in Jira unless it is being used in conjunction with a third party app or perhaps other Atlassian functionality. Are you using third party apps or other Atlassian functionality besides the Jira app itself?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the solution:
For Risks:
issue in linkedIssues("FeatureID") AND issuelinkType in ("has risk", "is a risk")
For Dependencies:
issue in linkedIssues("FeatureID") AND issuelinkType in ("blocks", "is blocked by")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad you found a solution!
Just to wrap this up...
Jira Cloud does not use version number; i.e. 9.4.14. That would be indicative of you using self-hosted Jira - Jira Server or Jira Data Center.
Based on your use of linkedIssues() that indicates that those blocks represent generic Issue Links functionality.
The native presentation of Issue Links within the Issue Details View looks like this (from Jira DC v9.4.11):
The entire Issue Links section is collapsible, but there are not collapsible panels for each type of link. That suggests to me that you are using some sort of third party app to change the presentation of Issue Links in your Jira instance. Or perhaps there was an update to the presentation between minor versions 11 and 14.
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.