Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66503

GitHub "Ignore pull requests marked as drafts" trait is available for non-GitHub branch sources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 2.303.1
      Bitbucket Branch Source Plugin 2.9.11
      Bitbucket Server Integration 2.1.3
      GitHub Branch Source Plugin 2.11.2
    • github-branch-source-plugin:1598.v91207e9f9b_4a_

      JENKINS-65156 / PR #416 added "Ignore pull requests marked as drafts" (IgnoreDraftPullRequestFilterTrait) to the GitHub Branch Source plugin. Jenkins now offers the trait for branch sources from the Bitbucket Branch Source and Bitbucket Server Integration plugins as well. The trait however cannot recognize any draft PRs from those branch sources because the request instanceof GitHubSCMSourceRequest check will evaluate to false. To minimise user confusion, the trait should be hidden from the list or clearly labeled "GitHub".

            Unassigned Unassigned
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: