Skip to content

Automatically link work items from commits to pull requests created via az repos pr create #3007

Description

@RobinDink

Hey everyone,

I have a request to make the azure-cli behave more like the Azure DevOps GUI does when it comes to pull requests. We have a blind colleague who would really appreciate this feature since the GUI is not really useable for him.

  • When I link a work item to a git commit (e.g. via git commit -am "472 Remove test file") in a feature branch and then create a pull request from this feature branch via the GUI, the pull request will automatically link the work item:
    image
  • Unfortunately, when I create a pull request via az repos pr create, the work items mentioned in commits are not automatically linked.

I hope someone could take a look at this, I'm very glad my blind colleague is so open to branch policies, pull requests and all the other stuff I'm introducing.

Cheers,
Robin


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DevOpsService AttentionThis issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions