Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19479

As an admin, I would like to use REST API endpoints to create, update, delete, and get default tasks for pull requests

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Pull Request - Tasks
    • None
    • 1
    • We collect Bitbucket 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.

      Problem Definition  

      Default tasks allow project and repository admins to configure a list of predefined tasks that are automatically added to pull requests when pull requests are created.

      Currently, it is only possible to add tasks on a pull request via REST API after the pull request is created because the task is created via comment with severity BLOCKER on a pull request and, therefore, you have to specify the pull request ID in the URL.

      These manually added tasks via comment after the pull request is created are not the same thing as default tasks.

      Reference: Add pull request comment.

      In an instance with thousands of projects or repositories, adding default tasks for each is very time-consuming because it currently needs to be done one by one via the web interface.

      Suggested Solution

      Bitbucket should have REST API endpoints for creating, updating, deleting, and getting default tasks managed at the project and repository levels.

      Workaround

      Currently, there are no known workarounds for creating default tasks at the project or repository levels programmatically via REST API.

            Unassigned Unassigned
            fkraemer Felipe Kraemer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: