Skip to content

Add issue dependency views #12152

Closed

Description

@dkaszews

Describe the feature or problem you’d like to solve

New dependency (blocking/blocked) feature is not yet added to CLI, but would be very useful to quickly prioritise issues, e.g. find ones which are blocking other work, but are not blocked by themselves.

Proposed solution

  1. Add new gh pr view/list --json fields blockedBy and blocking returning arrays similar to gh pr view --json closingIssuesReferences
  2. Add gh pr list -b,--blocked/-B,--blocking
  3. A negative filter can be implemented with --not-blocked/--not-blocking, or by using special value such as 0 or none

Additional context

Related to #11757, but that requests editing dependencies, while I am interested in just viewing them.

Activity

  1. github-actions commented on Nov 17, 2025

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as a feature request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Contributions welcome label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

  2. babakks commented on Nov 17, 2025

    @babakks
    Member

    Thanks for your issue, @dkaszews! 🙏

    I've replied on the other issue, and it's best to keep the conversation in one place. Not closing this, though, since it's a different request.

    Tip

    To whoever lands on this issue in the future, please have a look at #11757 and comment there, unless it's super specific to this issue.

  3. BagToad commented on Apr 8, 2026

    @BagToad
    Member

    blockedBy and blocking fields in --json output are in progress for gh issue view. The full design is up for review at #13120. If you have feedback on the proposed output shape, please comment there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-issuerelating to the gh issue commandstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions