Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-71157

REST API: Return parent reference in API Issue results

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • REST API
    • None
    • 0
    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Issue results contain a good deal of contextual references: linked issues, sub-tasks, project, etc. However they do not contain a reference to the parent issue.

      https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-issue-issueIdOrKey-get

      This omission makes it difficult to construct tree-like views on issue queries. The backing data structure clearly maintains this information, because issue queries can filter by parent ID. However, it is not possible to disambiguate the parents of multiple issues returned by the same JQL query.

      The message boards are littered with requests for how to obtain the parent of an issue, with the answer invariably being run a secondary query. The limitation can be seen in Jira's own UI as the issue view slowly builds the branch structure, one parent query at a time. All of these use cases would be made much simpler and reduce API spam by adding a reference to the parent issue.

              Unassigned Unassigned
              82138b795862 Chris "cloud" Johnson
              Votes:
              28 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: