I need to write a query that lists all the user stories and their status under a particular feature
Hello @Rina Speciale
Welcome to the Atlassian community.
Can you describe your issue type hierarchy?
The native Jira issue type hierarchy is:
Epic|-- Story, Task, etc. |-- subtasks
You mentioned "feature". Is that what you call the items at the Epic level of the hierarchy, or are "features" at a higher level?
Are the user stories connected to the feature directly as Children, or are they connected through generic issue linking?
Can you provide a screen image of a "feature" pointing out in the image the "user stories" that you want to retrieve?
Without that additional information one option you might try is documented here:
https://confluence.atlassian.com/advancedroadmapsserver/searching-for-issues-using-advanced-roadmaps-details-940678957.html
issuekey in childIssuesOf(<feature issue key>)
Epic->Feature->User Story
The user stories are linked to the Feature so yes, they are direct children.
Has the issue type hierarchy actually been modified, or are you using generic issue linking to artificially create a parent/child relationship between Feature and User Story?
Are you able to access this page (change the URL to match your Jira instance) and share the information found there?
https://yourBaseUrl/secure/PortfolioHierarchy.jspa
If you are not able to access that page, can you provide a screen image of a Feature showing the area listing its child User Stories? I want to see if they appear in a collapsible section labeled "Issue Links", or labeled "Issues in Epic", or labeled "Child Issues".
It looks like you're new here. Sign in or register to get started.