diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5b52f26a8b..44d70014e3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -73,6 +73,9 @@ a Java VM option). For example:
 The above command will create snapshot WireMock data files under the path `src/test/resources/org/kohsuhke/github/YourTestClassName/wiremock`.
 Each method will get a separate directory that will hold the data files for that test method.
 
+*Note:* if you are using personal github account don't forget to change `getTempRepository()` to `gitHub.getRepository("${your_account}/${test_method_name}")`
+in order to match with snapshot file name for wiremock. To double-check run test without `-Dtest.github.org=false` flag after snapshot is saved.
+
 Add all files including the generated data to your commit and submit a PR.
 
 ### Modifying existing tests
diff --git a/src/main/java/org/kohsuke/github/GHPullRequestSearchBuilder.java b/src/main/java/org/kohsuke/github/GHPullRequestSearchBuilder.java
new file mode 100644
index 0000000000..970bfb34d2
--- /dev/null
+++ b/src/main/java/org/kohsuke/github/GHPullRequestSearchBuilder.java
@@ -0,0 +1,484 @@
+package org.kohsuke.github;
+
+import java.time.LocalDate;
+import java.time.format.DateTimeFormatter;
+
+/**
+ * Search for pull requests by main search terms in order to narrow down search results.
+ *
+ * @author Konstantin Gromov
+ * @see <a href="https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests">Search
+ *      issues and PRs</a>
+ */
+public class GHPullRequestSearchBuilder extends GHSearchBuilder<GHPullRequest> {
+    /**
+     * Instantiates a new GH search builder.
+     *
+     * @param root
+     *            the root
+     */
+    GHPullRequestSearchBuilder(GitHub root) {
+        super(root, PullRequestSearchResult.class);
+    }
+
+    /**
+     * Repository gh pull request search builder.
+     *
+     * @param repository
+     *            the repository
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder repo(GHRepository repository) {
+        q("repo", repository.getFullName());
+        return this;
+    }
+
+    /**
+     * Author gh pull request search builder.
+     *
+     * @param user
+     *            the user as pr author
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder author(GHUser user) {
+        q("author", user.getLogin());
+        return this;
+    }
+
+    /**
+     * CreatedByMe gh pull request search builder.
+     *
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder createdByMe() {
+        q("author:@me");
+        return this;
+    }
+
+    /**
+     * Assigned to gh pull request user.
+     *
+     * @param u
+     *            the gh user
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder assigned(GHUser u) {
+        q("assignee", u.getLogin());
+        return this;
+    }
+
+    /**
+     * Mentions gh pull request search builder.
+     *
+     * @param u
+     *            the gh user
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder mentions(GHUser u) {
+        q("mentions", u.getLogin());
+        return this;
+    }
+
+    /**
+     * Is open gh pull request search builder.
+     *
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder isOpen() {
+        return q("is:open");
+    }
+
+    /**
+     * Is closed gh pull request search builder.
+     *
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder isClosed() {
+        return q("is:closed");
+    }
+
+    /**
+     * Is merged gh pull request search builder.
+     *
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder isMerged() {
+        return q("is:merged");
+    }
+
+    /**
+     * Is draft gh pull request search builder.
+     *
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder isDraft() {
+        return q("draft:true");
+    }
+
+    /**
+     * Head gh pull request search builder.
+     *
+     * @param branch
+     *            the head branch
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder head(GHBranch branch) {
+        q("head", branch.getName());
+        return this;
+    }
+
+    /**
+     * Base gh pull request search builder.
+     *
+     * @param branch
+     *            the base branch
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder base(GHBranch branch) {
+        q("base", branch.getName());
+        return this;
+    }
+
+    /**
+     * Commit gh pull request search builder.
+     *
+     * @param sha
+     *            the commit SHA
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder commit(String sha) {
+        q("SHA", sha);
+        return this;
+    }
+
+    /**
+     * Created gh pull request search builder.
+     *
+     * @param created
+     *            the createdAt
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder created(LocalDate created) {
+        q("created", created.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * CreatedBefore gh pull request search builder.
+     *
+     * @param created
+     *            the createdAt
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder createdBefore(LocalDate created, boolean inclusive) {
+        String comparisonSign = inclusive ? "<=" : "<";
+        q("created:" + comparisonSign + created.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * CreatedAfter gh pull request search builder.
+     *
+     * @param created
+     *            the createdAt
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder createdAfter(LocalDate created, boolean inclusive) {
+        String comparisonSign = inclusive ? ">=" : ">";
+        q("created:" + comparisonSign + created.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * Created gh pull request search builder.
+     *
+     * @param from
+     *            the createdAt starting from
+     * @param to
+     *            the createdAt ending to
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder created(LocalDate from, LocalDate to) {
+        String createdRange = from.format(DateTimeFormatter.ISO_DATE) + ".." + to.format(DateTimeFormatter.ISO_DATE);
+        q("created", createdRange);
+        return this;
+    }
+
+    /**
+     * Merged gh pull request search builder.
+     *
+     * @param merged
+     *            the merged
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder merged(LocalDate merged) {
+        q("merged", merged.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * MergedBefore gh pull request search builder.
+     *
+     * @param merged
+     *            the merged
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder mergedBefore(LocalDate merged, boolean inclusive) {
+        String comparisonSign = inclusive ? "<=" : "<";
+        q("merged:" + comparisonSign + merged.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * MergedAfter gh pull request search builder.
+     *
+     * @param merged
+     *            the merged
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder mergedAfter(LocalDate merged, boolean inclusive) {
+        String comparisonSign = inclusive ? ">=" : ">";
+        q("merged:" + comparisonSign + merged.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * Merged gh pull request search builder.
+     *
+     * @param from
+     *            the merged starting from
+     * @param to
+     *            the merged ending to
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder merged(LocalDate from, LocalDate to) {
+        String mergedRange = from.format(DateTimeFormatter.ISO_DATE) + ".." + to.format(DateTimeFormatter.ISO_DATE);
+        q("merged", mergedRange);
+        return this;
+    }
+
+    /**
+     * Closed gh pull request search builder.
+     *
+     * @param closed
+     *            the closed
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder closed(LocalDate closed) {
+        q("closed", closed.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * ClosedBefore gh pull request search builder.
+     *
+     * @param closed
+     *            the closed
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder closedBefore(LocalDate closed, boolean inclusive) {
+        String comparisonSign = inclusive ? "<=" : "<";
+        q("closed:" + comparisonSign + closed.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * ClosedAfter gh pull request search builder.
+     *
+     * @param closed
+     *            the closed
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder closedAfter(LocalDate closed, boolean inclusive) {
+        String comparisonSign = inclusive ? ">=" : ">";
+        q("closed:" + comparisonSign + closed.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * Closed gh pull request search builder.
+     *
+     * @param from
+     *            the closed starting from
+     * @param to
+     *            the closed ending to
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder closed(LocalDate from, LocalDate to) {
+        String closedRange = from.format(DateTimeFormatter.ISO_DATE) + ".." + to.format(DateTimeFormatter.ISO_DATE);
+        q("closed", closedRange);
+        return this;
+    }
+
+    /**
+     * Updated gh pull request search builder.
+     *
+     * @param updated
+     *            the updated
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder updated(LocalDate updated) {
+        q("updated", updated.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * UpdatedBefore gh pull request search builder.
+     *
+     * @param updated
+     *            the updated
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder updatedBefore(LocalDate updated, boolean inclusive) {
+        String comparisonSign = inclusive ? "<=" : "<";
+        q("updated:" + comparisonSign + updated.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * UpdatedAfter gh pull request search builder.
+     *
+     * @param updated
+     *            the updated
+     * @param inclusive
+     *            whether to include date
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder updatedAfter(LocalDate updated, boolean inclusive) {
+        String comparisonSign = inclusive ? ">=" : ">";
+        q("updated:" + comparisonSign + updated.format(DateTimeFormatter.ISO_DATE));
+        return this;
+    }
+
+    /**
+     * Updated gh pull request search builder.
+     *
+     * @param from
+     *            the updated starting from
+     * @param to
+     *            the updated ending to
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder updated(LocalDate from, LocalDate to) {
+        String updatedRange = from.format(DateTimeFormatter.ISO_DATE) + ".." + to.format(DateTimeFormatter.ISO_DATE);
+        q("updated", updatedRange);
+        return this;
+    }
+
+    /**
+     * Label gh pull request search builder.
+     *
+     * @param label
+     *            the label
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder label(String label) {
+        q("label", label);
+        return this;
+    }
+
+    /**
+     * Labels gh pull request search builder.
+     *
+     * @param labels
+     *            the labels
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder inLabels(Iterable<String> labels) {
+        q("label", String.join(",", labels));
+        return this;
+    }
+
+    /**
+     * Title like search term
+     *
+     * @param title
+     *            the title to be matched
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder titleLike(String title) {
+        q(title + " in:title");
+        return this;
+    }
+
+    /**
+     * Order gh pull request search builder.
+     *
+     * @param direction
+     *            the direction
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder order(GHDirection direction) {
+        req.with("order", direction);
+        return this;
+    }
+
+    /**
+     * Sort gh pull request search builder.
+     *
+     * @param sort
+     *            the sort
+     * @return the gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder sort(GHPullRequestSearchBuilder.Sort sort) {
+        req.with("sort", sort);
+        return this;
+    }
+
+    @Override
+    public GHPullRequestSearchBuilder q(String term) {
+        super.q(term);
+        return this;
+    }
+
+    @Override
+    public PagedSearchIterable<GHPullRequest> list() {
+        this.q("is:pr");
+        return super.list();
+    }
+
+    @Override
+    protected String getApiUrl() {
+        return "/search/issues";
+    }
+
+    /**
+     * The sort order values.
+     */
+    public enum Sort {
+
+        /** The comments. */
+        COMMENTS,
+        /** The created. */
+        CREATED,
+        /** The updated. */
+        UPDATED,
+        /** The relevance. */
+        RELEVANCE
+
+    }
+
+    private static class PullRequestSearchResult extends SearchResult<GHPullRequest> {
+
+        private GHPullRequest[] items;
+
+        @Override
+        GHPullRequest[] getItems(GitHub root) {
+            return items;
+        }
+    }
+}
diff --git a/src/main/java/org/kohsuke/github/GHRepository.java b/src/main/java/org/kohsuke/github/GHRepository.java
index a20aac28eb..6cc2eb7ad6 100644
--- a/src/main/java/org/kohsuke/github/GHRepository.java
+++ b/src/main/java/org/kohsuke/github/GHRepository.java
@@ -1701,6 +1701,15 @@ public GHPullRequestQueryBuilder queryPullRequests() {
         return new GHPullRequestQueryBuilder(this);
     }
 
+    /**
+     * Retrieves pull requests according to search terms.
+     *
+     * @return gh pull request search builder for current repository
+     */
+    public GHPullRequestSearchBuilder searchPullRequests() {
+        return new GHPullRequestSearchBuilder(this.root()).repo(this);
+    }
+
     /**
      * Creates a new pull request.
      *
diff --git a/src/main/java/org/kohsuke/github/GitHub.java b/src/main/java/org/kohsuke/github/GitHub.java
index ba33462b3a..e0d01bcc6f 100644
--- a/src/main/java/org/kohsuke/github/GitHub.java
+++ b/src/main/java/org/kohsuke/github/GitHub.java
@@ -1337,6 +1337,15 @@ public GHIssueSearchBuilder searchIssues() {
         return new GHIssueSearchBuilder(this);
     }
 
+    /**
+     * Search for pull requests.
+     *
+     * @return gh pull request search builder
+     */
+    public GHPullRequestSearchBuilder searchPullRequests() {
+        return new GHPullRequestSearchBuilder(this);
+    }
+
     /**
      * Search users.
      *
diff --git a/src/test/java/org/kohsuke/github/AppTest.java b/src/test/java/org/kohsuke/github/AppTest.java
index f2d68fe7fb..51a2827e68 100755
--- a/src/test/java/org/kohsuke/github/AppTest.java
+++ b/src/test/java/org/kohsuke/github/AppTest.java
@@ -1429,6 +1429,47 @@ public void testIssueSearch() throws IOException {
         }
     }
 
+    /**
+     * Test searching for pull requests.
+     *
+     * @throws IOException
+     *             the exception
+     */
+    @Test
+    public void testPullRequestSearch() throws Exception {
+        GHRepository repository = gitHub.getRepository("kgromov/temp-testPullRequestSearch");
+        String mainHead = repository.getRef("heads/main").getObject().getSha();
+        GHRef headBranch = repository.createRef("refs/heads/kgromov-test", mainHead);
+        repository.createContent()
+                .content("Empty content")
+                .message("test search")
+                .path(headBranch.getRef())
+                .branch(headBranch.getRef())
+                .commit();
+        GHPullRequest newPR = repository
+                .createPullRequest("New PR", headBranch.getRef(), "refs/heads/main", "Hello, merged PR");
+        newPR.setLabels("test");
+        Thread.sleep(1000);
+
+        List<GHPullRequest> pullRequests = gitHub.searchPullRequests()
+                .repo(repository)
+                .createdByMe()
+                .isOpen()
+                .label("test")
+                .list()
+                .toList();
+        assertThat(pullRequests.size(), is(1));
+        assertThat(pullRequests.get(0).getNumber(), is(newPR.getNumber()));
+
+        int totalCount = gitHub.searchPullRequests()
+                .repo(repository)
+                .author(repository.getOwner())
+                .isMerged()
+                .list()
+                .getTotalCount();
+        assertThat(totalCount, is(0));
+    }
+
     /**
      * Test readme.
      *
diff --git a/src/test/java/org/kohsuke/github/GHRepositoryTest.java b/src/test/java/org/kohsuke/github/GHRepositoryTest.java
index 61ca35c9c8..3ad8545c3c 100644
--- a/src/test/java/org/kohsuke/github/GHRepositoryTest.java
+++ b/src/test/java/org/kohsuke/github/GHRepositoryTest.java
@@ -14,18 +14,15 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
+import java.time.LocalDate;
+import java.util.*;
 import java.util.stream.Collectors;
 
 import static org.hamcrest.Matchers.*;
 import static org.hamcrest.core.IsInstanceOf.instanceOf;
 import static org.junit.Assert.assertThrows;
-import static org.kohsuke.github.GHVerification.Reason.*;
+import static org.kohsuke.github.GHVerification.Reason.GPGVERIFY_ERROR;
+import static org.kohsuke.github.GHVerification.Reason.UNKNOWN_SIGNATURE_TYPE;
 
 // TODO: Auto-generated Javadoc
 /**
@@ -1712,4 +1709,135 @@ public void cannotRetrievePermissionMaintainUser() throws IOException {
         GHPermissionType permission = r.getPermission("alecharp");
         assertThat(permission.toString(), is("UNKNOWN"));
     }
+
+    /**
+     * Test searching for pull requests.
+     *
+     * @throws IOException
+     *             the exception
+     */
+    @Test
+    public void testSearchPullRequests() throws Exception {
+        GHRepository repository = gitHub.getRepository("kgromov/temp-testSearchPullRequests");
+        // prepare branches
+        String mainHead = repository.getRef("heads/main").getObject().getSha();
+        GHRef draftBranch = repository.createRef("refs/heads/draft", mainHead);
+        repository.createContent()
+                .content("Draft content")
+                .message("test search")
+                .path(draftBranch.getRef())
+                .branch(draftBranch.getRef())
+                .commit();
+        GHRef branchToMerge = repository.createRef("refs/heads/branchToMerge", mainHead);
+        GHContentUpdateResponse commit = repository.createContent()
+                .content("Empty content")
+                .message("test search")
+                .path(branchToMerge.getRef())
+                .branch(branchToMerge.getRef())
+                .commit();
+        // prepare pull requests
+        GHPullRequest draftPR = repository.createPullRequest("Temp draft PR",
+                draftBranch.getRef(),
+                "refs/heads/main",
+                "Hello, draft PR",
+                true,
+                true);
+        draftPR.setLabels("test");
+        GHPullRequest mergedPR = repository
+                .createPullRequest("Temp merged PR", branchToMerge.getRef(), "refs/heads/main", "Hello, merged PR");
+        mergedPR.setLabels("test");
+        GHMyself myself = gitHub.getMyself();
+        mergedPR.assignTo(myself);
+        mergedPR.comment("@" + myself.getLogin() + " approved");
+        mergedPR.merge("Merged test PR");
+        Thread.sleep(1000);
+
+        // search by states
+        GHPullRequestSearchBuilder search = repository.searchPullRequests().isOpen().isDraft();
+        PagedSearchIterable<GHPullRequest> searchResult = search.list();
+        this.verifySingleResult(searchResult, draftPR);
+
+        search = repository.searchPullRequests().isClosed().isMerged();
+        searchResult = search.list();
+        this.verifySingleResult(searchResult, mergedPR);
+
+        // search by dates
+        LocalDate from = LocalDate.parse("2023-11-01");
+        LocalDate to = LocalDate.parse("2023-11-11");
+        LocalDate afterRange = LocalDate.parse("2023-11-12");
+
+        search = repository.searchPullRequests()
+                .created(from, to)
+                .updated(from, to)
+                .sort(GHPullRequestSearchBuilder.Sort.UPDATED);
+        searchResult = search.list();
+        this.verifyPluralResult(searchResult, mergedPR, draftPR);
+
+        search = repository.searchPullRequests().merged(from, to).closed(from, to);
+        searchResult = search.list();
+        this.verifySingleResult(searchResult, mergedPR);
+
+        search = repository.searchPullRequests().created(to).updated(to).closed(to).merged(to);
+        searchResult = search.list();
+        this.verifySingleResult(searchResult, mergedPR);
+
+        search = repository.searchPullRequests()
+                .createdAfter(from, false)
+                .updatedAfter(from, false)
+                .mergedAfter(from, true)
+                .closedAfter(from, true);
+        searchResult = search.list();
+        this.verifySingleResult(searchResult, mergedPR);
+
+        search = repository.searchPullRequests()
+                .createdBefore(afterRange, false)
+                .updatedBefore(afterRange, false)
+                .closedBefore(afterRange, true)
+                .mergedBefore(afterRange, false);
+        searchResult = search.list();
+        this.verifySingleResult(searchResult, mergedPR);
+
+        // search by version control
+        Map<String, GHBranch> branches = repository.getBranches();
+        search = repository.searchPullRequests()
+                .base(branches.get("main"))
+                .head(branches.get("branchToMerge"))
+                .commit(commit.getCommit().getSha());
+        searchResult = search.list();
+        this.verifySingleResult(searchResult, mergedPR);
+
+        // search by remaining filters
+        search = repository.searchPullRequests()
+                .titleLike("Temp")
+                .sort(GHPullRequestSearchBuilder.Sort.CREATED)
+                .order(GHDirection.ASC);
+        searchResult = search.list();
+        this.verifyPluralResult(searchResult, draftPR, mergedPR);
+
+        search = repository.searchPullRequests().inLabels(Arrays.asList("test")).order(GHDirection.DESC);
+        searchResult = search.list();
+        this.verifyPluralResult(searchResult, mergedPR, draftPR);
+
+        search = repository.searchPullRequests().assigned(myself).mentions(myself);
+        searchResult = search.list();
+        this.verifySingleResult(searchResult, mergedPR);
+    }
+
+    private void verifyEmptyResult(PagedSearchIterable<GHPullRequest> searchResult) {
+        assertThat(searchResult.getTotalCount(), is(0));
+    }
+
+    private void verifySingleResult(PagedSearchIterable<GHPullRequest> searchResult, GHPullRequest expectedPR)
+            throws IOException {
+        assertThat(searchResult.getTotalCount(), is(1));
+        assertThat(searchResult.toList().get(0).getNumber(), is(expectedPR.getNumber()));
+    }
+
+    private void verifyPluralResult(PagedSearchIterable<GHPullRequest> searchResult,
+            GHPullRequest expectedPR1,
+            GHPullRequest expectedPR2) throws IOException {
+        assertThat(searchResult.getTotalCount(), is(2));
+        assertThat(searchResult.toList().get(0).getNumber(), is(expectedPR1.getNumber()));
+        assertThat(searchResult.toList().get(1).getNumber(), is(expectedPR2.getNumber()));
+    }
 }
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch-1d748378-ea81-4a4d-9068-4d1c65303469.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch-1d748378-ea81-4a4d-9068-4d1c65303469.json
new file mode 100644
index 0000000000..16a3d50aa2
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch-1d748378-ea81-4a4d-9068-4d1c65303469.json
@@ -0,0 +1,132 @@
+{
+  "id": 690780740,
+  "node_id": "R_kgDOKSx6RA",
+  "name": "temp-testPullRequestSearch",
+  "full_name": "kgromov/temp-testPullRequestSearch",
+  "private": false,
+  "owner": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "html_url": "https://github.com/kgromov/temp-testPullRequestSearch",
+  "description": "A test repository for testing the github-api project: temp-testPullRequestSearch",
+  "fork": false,
+  "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch",
+  "forks_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/forks",
+  "keys_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/keys{/key_id}",
+  "collaborators_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/collaborators{/collaborator}",
+  "teams_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/teams",
+  "hooks_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/hooks",
+  "issue_events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/events{/number}",
+  "events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/events",
+  "assignees_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/assignees{/user}",
+  "branches_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/branches{/branch}",
+  "tags_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/tags",
+  "blobs_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/blobs{/sha}",
+  "git_tags_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/tags{/sha}",
+  "git_refs_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/refs{/sha}",
+  "trees_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/trees{/sha}",
+  "statuses_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/statuses/{sha}",
+  "languages_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/languages",
+  "stargazers_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/stargazers",
+  "contributors_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contributors",
+  "subscribers_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/subscribers",
+  "subscription_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/subscription",
+  "commits_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/commits{/sha}",
+  "git_commits_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/commits{/sha}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/comments{/number}",
+  "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/comments{/number}",
+  "contents_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contents/{+path}",
+  "compare_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/compare/{base}...{head}",
+  "merges_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/merges",
+  "archive_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/{archive_format}{/ref}",
+  "downloads_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/downloads",
+  "issues_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues{/number}",
+  "pulls_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls{/number}",
+  "milestones_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/milestones{/number}",
+  "notifications_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/notifications{?since,all,participating}",
+  "labels_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/labels{/name}",
+  "releases_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/releases{/id}",
+  "deployments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/deployments",
+  "created_at": "2023-09-12T21:36:38Z",
+  "updated_at": "2023-09-12T21:36:38Z",
+  "pushed_at": "2023-09-12T21:36:38Z",
+  "git_url": "git://github.com/kgromov/temp-testPullRequestSearch.git",
+  "ssh_url": "git@github.com:kgromov/temp-testPullRequestSearch.git",
+  "clone_url": "https://github.com/kgromov/temp-testPullRequestSearch.git",
+  "svn_url": "https://github.com/kgromov/temp-testPullRequestSearch",
+  "homepage": "http://github-api.kohsuke.org/",
+  "size": 0,
+  "stargazers_count": 0,
+  "watchers_count": 0,
+  "language": null,
+  "has_issues": true,
+  "has_projects": true,
+  "has_downloads": true,
+  "has_wiki": true,
+  "has_pages": false,
+  "has_discussions": false,
+  "forks_count": 0,
+  "mirror_url": null,
+  "archived": false,
+  "disabled": false,
+  "open_issues_count": 0,
+  "license": null,
+  "allow_forking": true,
+  "is_template": false,
+  "web_commit_signoff_required": false,
+  "topics": [],
+  "visibility": "public",
+  "forks": 0,
+  "open_issues": 0,
+  "watchers": 0,
+  "default_branch": "main",
+  "permissions": {
+    "admin": true,
+    "maintain": true,
+    "push": true,
+    "triage": true,
+    "pull": true
+  },
+  "temp_clone_token": "",
+  "allow_squash_merge": true,
+  "allow_merge_commit": true,
+  "allow_rebase_merge": true,
+  "allow_auto_merge": false,
+  "delete_branch_on_merge": false,
+  "allow_update_branch": false,
+  "use_squash_pr_title_as_default": false,
+  "squash_merge_commit_message": "COMMIT_MESSAGES",
+  "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+  "merge_commit_message": "PR_TITLE",
+  "merge_commit_title": "MERGE_MESSAGE",
+  "security_and_analysis": {
+    "secret_scanning": {
+      "status": "disabled"
+    },
+    "secret_scanning_push_protection": {
+      "status": "disabled"
+    },
+    "dependabot_security_updates": {
+      "status": "disabled"
+    }
+  },
+  "network_count": 0,
+  "subscribers_count": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test-70ccae4c-cd27-45b8-a390-d9f89b89a095.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test-70ccae4c-cd27-45b8-a390-d9f89b89a095.json
new file mode 100644
index 0000000000..1865b23bde
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test-70ccae4c-cd27-45b8-a390-d9f89b89a095.json
@@ -0,0 +1,52 @@
+{
+  "content": {
+    "name": "kgromov-test",
+    "path": "refs/heads/kgromov-test",
+    "sha": "c6efc981d368b755bff4a1059fc3b43a78e62f88",
+    "size": 13,
+    "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contents/refs/heads/kgromov-test?ref=refs/heads/kgromov-test",
+    "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/blob/refs/heads/kgromov-test/refs/heads/kgromov-test",
+    "git_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/blobs/c6efc981d368b755bff4a1059fc3b43a78e62f88",
+    "download_url": "https://raw.githubusercontent.com/kgromov/temp-testPullRequestSearch/refs/heads/kgromov-test/refs/heads/kgromov-test",
+    "type": "file",
+    "_links": {
+      "self": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contents/refs/heads/kgromov-test?ref=refs/heads/kgromov-test",
+      "git": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/blobs/c6efc981d368b755bff4a1059fc3b43a78e62f88",
+      "html": "https://github.com/kgromov/temp-testPullRequestSearch/blob/refs/heads/kgromov-test/refs/heads/kgromov-test"
+    }
+  },
+  "commit": {
+    "sha": "b13674625cc8a8e663d1c4ab3776856387be0d6d",
+    "node_id": "C_kwDOKSx6RNoAKGIxMzY3NDYyNWNjOGE4ZTY2M2QxYzRhYjM3NzY4NTYzODdiZTBkNmQ",
+    "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/commits/b13674625cc8a8e663d1c4ab3776856387be0d6d",
+    "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/commit/b13674625cc8a8e663d1c4ab3776856387be0d6d",
+    "author": {
+      "name": "Konstantin Gromov",
+      "email": "rocky89@ukr.net",
+      "date": "2023-09-12T21:36:44Z"
+    },
+    "committer": {
+      "name": "Konstantin Gromov",
+      "email": "rocky89@ukr.net",
+      "date": "2023-09-12T21:36:44Z"
+    },
+    "tree": {
+      "sha": "7b355dd8ba3d679ea877b71fae20a70280554cb9",
+      "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/trees/7b355dd8ba3d679ea877b71fae20a70280554cb9"
+    },
+    "message": "test search",
+    "parents": [
+      {
+        "sha": "11ca01741fd0b293791f69ee19e523f3dc9a08d0",
+        "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/commits/11ca01741fd0b293791f69ee19e523f3dc9a08d0",
+        "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/commit/11ca01741fd0b293791f69ee19e523f3dc9a08d0"
+      }
+    ],
+    "verification": {
+      "verified": false,
+      "reason": "unsigned",
+      "signature": null,
+      "payload": null
+    }
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_git_refs-d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_git_refs-d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2.json
new file mode 100644
index 0000000000..897d4e747a
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_git_refs-d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2.json
@@ -0,0 +1,10 @@
+{
+  "ref": "refs/heads/kgromov-test",
+  "node_id": "REF_kwDOKSx6RLdyZWZzL2hlYWRzL2tncm9tb3YtdGVzdA",
+  "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/refs/heads/kgromov-test",
+  "object": {
+    "sha": "11ca01741fd0b293791f69ee19e523f3dc9a08d0",
+    "type": "commit",
+    "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/commits/11ca01741fd0b293791f69ee19e523f3dc9a08d0"
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main-5b36ecc3-bd45-45a3-83c3-2a45392f39af.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main-5b36ecc3-bd45-45a3-83c3-2a45392f39af.json
new file mode 100644
index 0000000000..3f71db8c28
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main-5b36ecc3-bd45-45a3-83c3-2a45392f39af.json
@@ -0,0 +1,10 @@
+{
+  "ref": "refs/heads/main",
+  "node_id": "REF_kwDOKSx6RK9yZWZzL2hlYWRzL21haW4",
+  "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/refs/heads/main",
+  "object": {
+    "sha": "11ca01741fd0b293791f69ee19e523f3dc9a08d0",
+    "type": "commit",
+    "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/commits/11ca01741fd0b293791f69ee19e523f3dc9a08d0"
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_issues_1-2d4d1182-63ad-4679-8400-09d6bb86972b.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_issues_1-2d4d1182-63ad-4679-8400-09d6bb86972b.json
new file mode 100644
index 0000000000..508963b5c9
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_issues_1-2d4d1182-63ad-4679-8400-09d6bb86972b.json
@@ -0,0 +1,79 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1",
+  "repository_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch",
+  "labels_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/labels{/name}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/comments",
+  "events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/events",
+  "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1",
+  "id": 1893312725,
+  "node_id": "PR_kwDOKSx6RM5aLChA",
+  "number": 1,
+  "title": "New PR",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "labels": [
+    {
+      "id": 5955506552,
+      "node_id": "LA_kwDOKSx6RM8AAAABYvnReA",
+      "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/labels/test",
+      "name": "test",
+      "color": "ededed",
+      "default": false,
+      "description": null
+    }
+  ],
+  "state": "open",
+  "locked": false,
+  "assignee": null,
+  "assignees": [],
+  "milestone": null,
+  "comments": 0,
+  "created_at": "2023-09-12T21:36:45Z",
+  "updated_at": "2023-09-12T21:36:46Z",
+  "closed_at": null,
+  "author_association": "OWNER",
+  "active_lock_reason": null,
+  "draft": false,
+  "pull_request": {
+    "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1",
+    "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1",
+    "diff_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1.diff",
+    "patch_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1.patch",
+    "merged_at": null
+  },
+  "body": "Hello, merged PR",
+  "closed_by": null,
+  "reactions": {
+    "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/reactions",
+    "total_count": 0,
+    "+1": 0,
+    "-1": 0,
+    "laugh": 0,
+    "hooray": 0,
+    "confused": 0,
+    "heart": 0,
+    "rocket": 0,
+    "eyes": 0
+  },
+  "timeline_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/timeline",
+  "performed_via_github_app": null,
+  "state_reason": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_pulls-9ecedc60-cd2d-446c-ac4c-e5945b8794bb.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_pulls-9ecedc60-cd2d-446c-ac4c-e5945b8794bb.json
new file mode 100644
index 0000000000..bd676ff114
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/repos_kgromov_temp-testpullrequestsearch_pulls-9ecedc60-cd2d-446c-ac4c-e5945b8794bb.json
@@ -0,0 +1,342 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1",
+  "id": 1512843328,
+  "node_id": "PR_kwDOKSx6RM5aLChA",
+  "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1",
+  "diff_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1.diff",
+  "patch_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1.patch",
+  "issue_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1",
+  "number": 1,
+  "state": "open",
+  "locked": false,
+  "title": "New PR",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "body": "Hello, merged PR",
+  "created_at": "2023-09-12T21:36:45Z",
+  "updated_at": "2023-09-12T21:36:45Z",
+  "closed_at": null,
+  "merged_at": null,
+  "merge_commit_sha": null,
+  "assignee": null,
+  "assignees": [],
+  "requested_reviewers": [],
+  "requested_teams": [],
+  "labels": [],
+  "milestone": null,
+  "draft": false,
+  "commits_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1/commits",
+  "review_comments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1/comments",
+  "review_comment_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/comments{/number}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/comments",
+  "statuses_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/statuses/b13674625cc8a8e663d1c4ab3776856387be0d6d",
+  "head": {
+    "label": "kgromov:kgromov-test",
+    "ref": "kgromov-test",
+    "sha": "b13674625cc8a8e663d1c4ab3776856387be0d6d",
+    "user": {
+      "login": "kgromov",
+      "id": 9352794,
+      "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+      "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+      "gravatar_id": "",
+      "url": "https://api.github.com/users/kgromov",
+      "html_url": "https://github.com/kgromov",
+      "followers_url": "https://api.github.com/users/kgromov/followers",
+      "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+      "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+      "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+      "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+      "organizations_url": "https://api.github.com/users/kgromov/orgs",
+      "repos_url": "https://api.github.com/users/kgromov/repos",
+      "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+      "received_events_url": "https://api.github.com/users/kgromov/received_events",
+      "type": "User",
+      "site_admin": false
+    },
+    "repo": {
+      "id": 690780740,
+      "node_id": "R_kgDOKSx6RA",
+      "name": "temp-testPullRequestSearch",
+      "full_name": "kgromov/temp-testPullRequestSearch",
+      "private": false,
+      "owner": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "html_url": "https://github.com/kgromov/temp-testPullRequestSearch",
+      "description": "A test repository for testing the github-api project: temp-testPullRequestSearch",
+      "fork": false,
+      "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch",
+      "forks_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/forks",
+      "keys_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/keys{/key_id}",
+      "collaborators_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/collaborators{/collaborator}",
+      "teams_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/teams",
+      "hooks_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/hooks",
+      "issue_events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/events{/number}",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/events",
+      "assignees_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/assignees{/user}",
+      "branches_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/branches{/branch}",
+      "tags_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/tags",
+      "blobs_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/blobs{/sha}",
+      "git_tags_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/tags{/sha}",
+      "git_refs_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/refs{/sha}",
+      "trees_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/trees{/sha}",
+      "statuses_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/statuses/{sha}",
+      "languages_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/languages",
+      "stargazers_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/stargazers",
+      "contributors_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contributors",
+      "subscribers_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/subscribers",
+      "subscription_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/subscription",
+      "commits_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/commits{/sha}",
+      "git_commits_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/commits{/sha}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/comments{/number}",
+      "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/comments{/number}",
+      "contents_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contents/{+path}",
+      "compare_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/compare/{base}...{head}",
+      "merges_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/merges",
+      "archive_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/{archive_format}{/ref}",
+      "downloads_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/downloads",
+      "issues_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues{/number}",
+      "pulls_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls{/number}",
+      "milestones_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/milestones{/number}",
+      "notifications_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/notifications{?since,all,participating}",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/labels{/name}",
+      "releases_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/releases{/id}",
+      "deployments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/deployments",
+      "created_at": "2023-09-12T21:36:38Z",
+      "updated_at": "2023-09-12T21:36:38Z",
+      "pushed_at": "2023-09-12T21:36:44Z",
+      "git_url": "git://github.com/kgromov/temp-testPullRequestSearch.git",
+      "ssh_url": "git@github.com:kgromov/temp-testPullRequestSearch.git",
+      "clone_url": "https://github.com/kgromov/temp-testPullRequestSearch.git",
+      "svn_url": "https://github.com/kgromov/temp-testPullRequestSearch",
+      "homepage": "http://github-api.kohsuke.org/",
+      "size": 0,
+      "stargazers_count": 0,
+      "watchers_count": 0,
+      "language": null,
+      "has_issues": true,
+      "has_projects": true,
+      "has_downloads": true,
+      "has_wiki": true,
+      "has_pages": false,
+      "has_discussions": false,
+      "forks_count": 0,
+      "mirror_url": null,
+      "archived": false,
+      "disabled": false,
+      "open_issues_count": 1,
+      "license": null,
+      "allow_forking": true,
+      "is_template": false,
+      "web_commit_signoff_required": false,
+      "topics": [],
+      "visibility": "public",
+      "forks": 0,
+      "open_issues": 1,
+      "watchers": 0,
+      "default_branch": "main"
+    }
+  },
+  "base": {
+    "label": "kgromov:main",
+    "ref": "main",
+    "sha": "11ca01741fd0b293791f69ee19e523f3dc9a08d0",
+    "user": {
+      "login": "kgromov",
+      "id": 9352794,
+      "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+      "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+      "gravatar_id": "",
+      "url": "https://api.github.com/users/kgromov",
+      "html_url": "https://github.com/kgromov",
+      "followers_url": "https://api.github.com/users/kgromov/followers",
+      "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+      "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+      "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+      "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+      "organizations_url": "https://api.github.com/users/kgromov/orgs",
+      "repos_url": "https://api.github.com/users/kgromov/repos",
+      "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+      "received_events_url": "https://api.github.com/users/kgromov/received_events",
+      "type": "User",
+      "site_admin": false
+    },
+    "repo": {
+      "id": 690780740,
+      "node_id": "R_kgDOKSx6RA",
+      "name": "temp-testPullRequestSearch",
+      "full_name": "kgromov/temp-testPullRequestSearch",
+      "private": false,
+      "owner": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "html_url": "https://github.com/kgromov/temp-testPullRequestSearch",
+      "description": "A test repository for testing the github-api project: temp-testPullRequestSearch",
+      "fork": false,
+      "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch",
+      "forks_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/forks",
+      "keys_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/keys{/key_id}",
+      "collaborators_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/collaborators{/collaborator}",
+      "teams_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/teams",
+      "hooks_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/hooks",
+      "issue_events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/events{/number}",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/events",
+      "assignees_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/assignees{/user}",
+      "branches_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/branches{/branch}",
+      "tags_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/tags",
+      "blobs_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/blobs{/sha}",
+      "git_tags_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/tags{/sha}",
+      "git_refs_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/refs{/sha}",
+      "trees_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/trees{/sha}",
+      "statuses_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/statuses/{sha}",
+      "languages_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/languages",
+      "stargazers_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/stargazers",
+      "contributors_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contributors",
+      "subscribers_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/subscribers",
+      "subscription_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/subscription",
+      "commits_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/commits{/sha}",
+      "git_commits_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/commits{/sha}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/comments{/number}",
+      "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/comments{/number}",
+      "contents_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/contents/{+path}",
+      "compare_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/compare/{base}...{head}",
+      "merges_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/merges",
+      "archive_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/{archive_format}{/ref}",
+      "downloads_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/downloads",
+      "issues_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues{/number}",
+      "pulls_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls{/number}",
+      "milestones_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/milestones{/number}",
+      "notifications_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/notifications{?since,all,participating}",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/labels{/name}",
+      "releases_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/releases{/id}",
+      "deployments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/deployments",
+      "created_at": "2023-09-12T21:36:38Z",
+      "updated_at": "2023-09-12T21:36:38Z",
+      "pushed_at": "2023-09-12T21:36:44Z",
+      "git_url": "git://github.com/kgromov/temp-testPullRequestSearch.git",
+      "ssh_url": "git@github.com:kgromov/temp-testPullRequestSearch.git",
+      "clone_url": "https://github.com/kgromov/temp-testPullRequestSearch.git",
+      "svn_url": "https://github.com/kgromov/temp-testPullRequestSearch",
+      "homepage": "http://github-api.kohsuke.org/",
+      "size": 0,
+      "stargazers_count": 0,
+      "watchers_count": 0,
+      "language": null,
+      "has_issues": true,
+      "has_projects": true,
+      "has_downloads": true,
+      "has_wiki": true,
+      "has_pages": false,
+      "has_discussions": false,
+      "forks_count": 0,
+      "mirror_url": null,
+      "archived": false,
+      "disabled": false,
+      "open_issues_count": 1,
+      "license": null,
+      "allow_forking": true,
+      "is_template": false,
+      "web_commit_signoff_required": false,
+      "topics": [],
+      "visibility": "public",
+      "forks": 0,
+      "open_issues": 1,
+      "watchers": 0,
+      "default_branch": "main"
+    }
+  },
+  "_links": {
+    "self": {
+      "href": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1"
+    },
+    "html": {
+      "href": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1"
+    },
+    "issue": {
+      "href": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1"
+    },
+    "comments": {
+      "href": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/comments"
+    },
+    "review_comments": {
+      "href": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1/comments"
+    },
+    "review_comment": {
+      "href": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/comments{/number}"
+    },
+    "commits": {
+      "href": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1/commits"
+    },
+    "statuses": {
+      "href": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/statuses/b13674625cc8a8e663d1c4ab3776856387be0d6d"
+    }
+  },
+  "author_association": "OWNER",
+  "auto_merge": null,
+  "active_lock_reason": null,
+  "merged": false,
+  "mergeable": null,
+  "rebaseable": null,
+  "mergeable_state": "unknown",
+  "merged_by": null,
+  "comments": 0,
+  "review_comments": 0,
+  "maintainer_can_modify": false,
+  "commits": 1,
+  "additions": 1,
+  "deletions": 0,
+  "changed_files": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/search_issues-e9db1949-51b0-4dfd-aecd-5ac4fa5505f4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/search_issues-e9db1949-51b0-4dfd-aecd-5ac4fa5505f4.json
new file mode 100644
index 0000000000..ebb2bd8692
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/search_issues-e9db1949-51b0-4dfd-aecd-5ac4fa5505f4.json
@@ -0,0 +1,85 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1",
+      "id": 1893312725,
+      "node_id": "PR_kwDOKSx6RM5aLChA",
+      "number": 1,
+      "title": "New PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 5955506552,
+          "node_id": "LA_kwDOKSx6RM8AAAABYvnReA",
+          "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-09-12T21:36:45Z",
+      "updated_at": "2023-09-12T21:36:46Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testPullRequestSearch/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/user-033591e8-135e-417a-94a5-e21a9852e3f4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/user-033591e8-135e-417a-94a5-e21a9852e3f4.json
new file mode 100644
index 0000000000..3394059e3c
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/user-033591e8-135e-417a-94a5-e21a9852e3f4.json
@@ -0,0 +1,34 @@
+{
+  "login": "kgromov",
+  "id": 9352794,
+  "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+  "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+  "gravatar_id": "",
+  "url": "https://api.github.com/users/kgromov",
+  "html_url": "https://github.com/kgromov",
+  "followers_url": "https://api.github.com/users/kgromov/followers",
+  "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+  "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+  "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+  "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+  "organizations_url": "https://api.github.com/users/kgromov/orgs",
+  "repos_url": "https://api.github.com/users/kgromov/repos",
+  "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+  "received_events_url": "https://api.github.com/users/kgromov/received_events",
+  "type": "User",
+  "site_admin": false,
+  "name": "Konstantin Gromov",
+  "company": null,
+  "blog": "https://www.linkedin.com/in/konstantin-gromov-52466359/",
+  "location": "Odessa",
+  "email": "konst.gromov@gmail.com",
+  "hireable": null,
+  "bio": "Software developer at EG",
+  "twitter_username": null,
+  "public_repos": 92,
+  "public_gists": 11,
+  "followers": 0,
+  "following": 8,
+  "created_at": "2014-10-22T14:20:36Z",
+  "updated_at": "2023-07-28T20:37:46Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/users_kgromov-fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/users_kgromov-fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44.json
new file mode 100644
index 0000000000..42b81e367e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/__files/users_kgromov-fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44.json
@@ -0,0 +1,34 @@
+{
+  "login": "kgromov",
+  "id": 9352794,
+  "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+  "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+  "gravatar_id": "",
+  "url": "https://api.github.com/users/kgromov",
+  "html_url": "https://github.com/kgromov",
+  "followers_url": "https://api.github.com/users/kgromov/followers",
+  "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+  "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+  "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+  "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+  "organizations_url": "https://api.github.com/users/kgromov/orgs",
+  "repos_url": "https://api.github.com/users/kgromov/repos",
+  "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+  "received_events_url": "https://api.github.com/users/kgromov/received_events",
+  "type": "User",
+  "site_admin": false,
+  "name": "Konstantin Gromov",
+  "company": null,
+  "blog": "https://www.linkedin.com/in/konstantin-gromov-52466359/",
+  "location": "Odessa",
+  "email": "konst.gromov@gmail.com",
+  "hireable": null,
+  "bio": "Software developer at EG",
+  "twitter_username": null,
+  "public_repos": 93,
+  "public_gists": 11,
+  "followers": 0,
+  "following": 8,
+  "created_at": "2014-10-22T14:20:36Z",
+  "updated_at": "2023-07-28T20:37:46Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch-1d748378-ea81-4a4d-9068-4d1c65303469.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch-1d748378-ea81-4a4d-9068-4d1c65303469.json
new file mode 100644
index 0000000000..9f0c0145d3
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch-1d748378-ea81-4a4d-9068-4d1c65303469.json
@@ -0,0 +1,50 @@
+{
+  "id": "1d748378-ea81-4a4d-9068-4d1c65303469",
+  "name": "repos_kgromov_temp-testpullrequestsearch",
+  "request": {
+    "url": "/repos/kgromov/temp-testPullRequestSearch",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testpullrequestsearch-1d748378-ea81-4a4d-9068-4d1c65303469.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:42 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"0714d0805652da6c9d6b7bdbff9c6b41c99163d3d698bcc33868adae2f1283b5\"",
+      "Last-Modified": "Tue, 12 Sep 2023 21:36:38 GMT",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4946",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "54",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA0:8845:1C3DDB2:1C7EEA6:6500D9EA"
+    }
+  },
+  "uuid": "1d748378-ea81-4a4d-9068-4d1c65303469",
+  "persistent": true,
+  "insertionIndex": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test-70ccae4c-cd27-45b8-a390-d9f89b89a095.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test-70ccae4c-cd27-45b8-a390-d9f89b89a095.json
new file mode 100644
index 0000000000..ade46f3839
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test-70ccae4c-cd27-45b8-a390-d9f89b89a095.json
@@ -0,0 +1,56 @@
+{
+  "id": "70ccae4c-cd27-45b8-a390-d9f89b89a095",
+  "name": "repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test",
+  "request": {
+    "url": "/repos/kgromov/temp-testPullRequestSearch/contents/refs/heads/kgromov-test",
+    "method": "PUT",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"path\":\"refs/heads/kgromov-test\",\"message\":\"test search\",\"branch\":\"refs/heads/kgromov-test\",\"content\":\"RW1wdHkgY29udGVudA==\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testpullrequestsearch_contents_refs_heads_kgromov-test-70ccae4c-cd27-45b8-a390-d9f89b89a095.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:44 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"e1e104675d56f5412dd916b2bbef9cf649357be5e8bb4e7b94b56ad628632f81\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4943",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "57",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA3:0F2D:A1650F2:A2D9F29:6500D9EB"
+    }
+  },
+  "uuid": "70ccae4c-cd27-45b8-a390-d9f89b89a095",
+  "persistent": true,
+  "insertionIndex": 5
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_git_refs-d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_git_refs-d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2.json
new file mode 100644
index 0000000000..722eb39f89
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_git_refs-d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2.json
@@ -0,0 +1,57 @@
+{
+  "id": "d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2",
+  "name": "repos_kgromov_temp-testpullrequestsearch_git_refs",
+  "request": {
+    "url": "/repos/kgromov/temp-testPullRequestSearch/git/refs",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"ref\":\"refs/heads/kgromov-test\",\"sha\":\"11ca01741fd0b293791f69ee19e523f3dc9a08d0\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testpullrequestsearch_git_refs-d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:43 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"a29ada515ced8c070f9302e49c1edf42b6e2f4a3514dfde50e8d2b9f94ece4c3\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4944",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "56",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA2:A05D:4CE4FAC:4DADE35:6500D9EB",
+      "Location": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/git/refs/heads/kgromov-test"
+    }
+  },
+  "uuid": "d9bac40d-ca5a-40dd-8a84-97c3f1b32fe2",
+  "persistent": true,
+  "insertionIndex": 4
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main-5b36ecc3-bd45-45a3-83c3-2a45392f39af.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main-5b36ecc3-bd45-45a3-83c3-2a45392f39af.json
new file mode 100644
index 0000000000..3999287679
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main-5b36ecc3-bd45-45a3-83c3-2a45392f39af.json
@@ -0,0 +1,51 @@
+{
+  "id": "5b36ecc3-bd45-45a3-83c3-2a45392f39af",
+  "name": "repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main",
+  "request": {
+    "url": "/repos/kgromov/temp-testPullRequestSearch/git/refs/heads/main",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testpullrequestsearch_git_refs_heads_main-5b36ecc3-bd45-45a3-83c3-2a45392f39af.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:43 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"42cbad8db276c5e7a651e14ab2aaa168a2a403d23805b9c7257dfd48ab1f23fd\"",
+      "Last-Modified": "Tue, 12 Sep 2023 21:36:38 GMT",
+      "X-Poll-Interval": "300",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4945",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "55",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA1:260B:569347F:5767C7F:6500D9EA"
+    }
+  },
+  "uuid": "5b36ecc3-bd45-45a3-83c3-2a45392f39af",
+  "persistent": true,
+  "insertionIndex": 3
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_issues_1-2d4d1182-63ad-4679-8400-09d6bb86972b.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_issues_1-2d4d1182-63ad-4679-8400-09d6bb86972b.json
new file mode 100644
index 0000000000..5933ff77e9
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_issues_1-2d4d1182-63ad-4679-8400-09d6bb86972b.json
@@ -0,0 +1,56 @@
+{
+  "id": "2d4d1182-63ad-4679-8400-09d6bb86972b",
+  "name": "repos_kgromov_temp-testpullrequestsearch_issues_1",
+  "request": {
+    "url": "/repos/kgromov/temp-testPullRequestSearch/issues/1",
+    "method": "PATCH",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"labels\":[\"test\"]}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testpullrequestsearch_issues_1-2d4d1182-63ad-4679-8400-09d6bb86972b.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:46 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"cfeeecc9fb57a3faaca23551f786855fd7eb61cbe9d0ec97b585c64ef386c7ce\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4941",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "59",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA5:537D:9D24DE3:9E97D8C:6500D9ED"
+    }
+  },
+  "uuid": "2d4d1182-63ad-4679-8400-09d6bb86972b",
+  "persistent": true,
+  "insertionIndex": 7
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_pulls-9ecedc60-cd2d-446c-ac4c-e5945b8794bb.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_pulls-9ecedc60-cd2d-446c-ac4c-e5945b8794bb.json
new file mode 100644
index 0000000000..6746d6845d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/repos_kgromov_temp-testpullrequestsearch_pulls-9ecedc60-cd2d-446c-ac4c-e5945b8794bb.json
@@ -0,0 +1,57 @@
+{
+  "id": "9ecedc60-cd2d-446c-ac4c-e5945b8794bb",
+  "name": "repos_kgromov_temp-testpullrequestsearch_pulls",
+  "request": {
+    "url": "/repos/kgromov/temp-testPullRequestSearch/pulls",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.shadow-cat-preview+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"head\":\"refs/heads/kgromov-test\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"New PR\",\"body\":\"Hello, merged PR\",\"base\":\"refs/heads/main\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testpullrequestsearch_pulls-9ecedc60-cd2d-446c-ac4c-e5945b8794bb.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:45 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"3e2f6d01fc247a9a9b1af41890f506f12555981bf4cfdadb72c73dd12c3b948b\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4942",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "58",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA4:E511:3F42249:3FE021F:6500D9EC",
+      "Location": "https://api.github.com/repos/kgromov/temp-testPullRequestSearch/pulls/1"
+    }
+  },
+  "uuid": "9ecedc60-cd2d-446c-ac4c-e5945b8794bb",
+  "persistent": true,
+  "insertionIndex": 6
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/search_issues-88d770e7-00cf-4e45-bfa7-6325985ae046.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/search_issues-88d770e7-00cf-4e45-bfa7-6325985ae046.json
new file mode 100644
index 0000000000..07279548bc
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/search_issues-88d770e7-00cf-4e45-bfa7-6325985ae046.json
@@ -0,0 +1,48 @@
+{
+  "id": "88d770e7-00cf-4e45-bfa7-6325985ae046",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testPullRequestSearch+author%3Akgromov+is%3Amerged+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "body": "{\"total_count\":0,\"incomplete_results\":false,\"items\":[]}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:49 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "28",
+      "X-RateLimit-Reset": "1694554668",
+      "X-RateLimit-Used": "2",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA8:D272:51B6D8F:527FC66:6500D9F0"
+    }
+  },
+  "uuid": "88d770e7-00cf-4e45-bfa7-6325985ae046",
+  "persistent": true,
+  "insertionIndex": 10
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/search_issues-e9db1949-51b0-4dfd-aecd-5ac4fa5505f4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/search_issues-e9db1949-51b0-4dfd-aecd-5ac4fa5505f4.json
new file mode 100644
index 0000000000..cec89626e1
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/search_issues-e9db1949-51b0-4dfd-aecd-5ac4fa5505f4.json
@@ -0,0 +1,48 @@
+{
+  "id": "e9db1949-51b0-4dfd-aecd-5ac4fa5505f4",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testPullRequestSearch+author%3A%40me+is%3Aopen+label%3Atest+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-e9db1949-51b0-4dfd-aecd-5ac4fa5505f4.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:48 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "29",
+      "X-RateLimit-Reset": "1694554668",
+      "X-RateLimit-Used": "1",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA6:E511:3F42AE8:3FE0ADB:6500D9EF"
+    }
+  },
+  "uuid": "e9db1949-51b0-4dfd-aecd-5ac4fa5505f4",
+  "persistent": true,
+  "insertionIndex": 8
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/user-033591e8-135e-417a-94a5-e21a9852e3f4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/user-033591e8-135e-417a-94a5-e21a9852e3f4.json
new file mode 100644
index 0000000000..3695015b85
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/user-033591e8-135e-417a-94a5-e21a9852e3f4.json
@@ -0,0 +1,50 @@
+{
+  "id": "033591e8-135e-417a-94a5-e21a9852e3f4",
+  "name": "user",
+  "request": {
+    "url": "/user",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "user-033591e8-135e-417a-94a5-e21a9852e3f4.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:37 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"07e140f41eb92dba5c93c21b66140307b3603456151547495fd368299cdd7330\"",
+      "Last-Modified": "Fri, 28 Jul 2023 20:37:46 GMT",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4949",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "51",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FD9E:260B:569262B:5766DF0:6500D9E5"
+    }
+  },
+  "uuid": "033591e8-135e-417a-94a5-e21a9852e3f4",
+  "persistent": true,
+  "insertionIndex": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/users_kgromov-fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/users_kgromov-fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44.json
new file mode 100644
index 0000000000..6a34c95818
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testPullRequestSearch/mappings/users_kgromov-fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44.json
@@ -0,0 +1,50 @@
+{
+  "id": "fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44",
+  "name": "users_kgromov",
+  "request": {
+    "url": "/users/kgromov",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "users_kgromov-fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Tue, 12 Sep 2023 21:36:48 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"dbe218fb448a313470ca7eeba8545b99dfb47e1df997d605c3ea93d5f9df475b\"",
+      "Last-Modified": "Fri, 28 Jul 2023 20:37:46 GMT",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4940",
+      "X-RateLimit-Reset": "1694557695",
+      "X-RateLimit-Used": "60",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FDA7:E6C0:9CC8F17:9E3BD71:6500D9F0"
+    }
+  },
+  "uuid": "fd7dc7ab-59e2-4fc4-ba00-1e7961be7c44",
+  "persistent": true,
+  "insertionIndex": 9
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json
new file mode 100644
index 0000000000..65a6630c05
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json
@@ -0,0 +1,132 @@
+{
+  "id": 717269122,
+  "node_id": "R_kgDOKsCogg",
+  "name": "temp-testSearchPullRequests",
+  "full_name": "kgromov/temp-testSearchPullRequests",
+  "private": false,
+  "owner": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "html_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+  "description": "A test repository for testing the github-api project: temp-testSearchPullRequests",
+  "fork": false,
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+  "forks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/forks",
+  "keys_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/keys{/key_id}",
+  "collaborators_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/collaborators{/collaborator}",
+  "teams_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/teams",
+  "hooks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/hooks",
+  "issue_events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/events{/number}",
+  "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/events",
+  "assignees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/assignees{/user}",
+  "branches_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches{/branch}",
+  "tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/tags",
+  "blobs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs{/sha}",
+  "git_tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/tags{/sha}",
+  "git_refs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs{/sha}",
+  "trees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/trees{/sha}",
+  "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/{sha}",
+  "languages_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/languages",
+  "stargazers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/stargazers",
+  "contributors_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contributors",
+  "subscribers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscribers",
+  "subscription_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscription",
+  "commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits{/sha}",
+  "git_commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits{/sha}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/comments{/number}",
+  "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments{/number}",
+  "contents_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/{+path}",
+  "compare_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/compare/{base}...{head}",
+  "merges_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/merges",
+  "archive_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/{archive_format}{/ref}",
+  "downloads_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/downloads",
+  "issues_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues{/number}",
+  "pulls_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls{/number}",
+  "milestones_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/milestones{/number}",
+  "notifications_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/notifications{?since,all,participating}",
+  "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}",
+  "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}",
+  "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments",
+  "created_at": "2023-11-11T00:45:13Z",
+  "updated_at": "2023-11-11T00:45:13Z",
+  "pushed_at": "2023-11-11T00:45:13Z",
+  "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git",
+  "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git",
+  "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git",
+  "svn_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+  "homepage": "http://github-api.kohsuke.org/",
+  "size": 0,
+  "stargazers_count": 0,
+  "watchers_count": 0,
+  "language": null,
+  "has_issues": true,
+  "has_projects": true,
+  "has_downloads": true,
+  "has_wiki": true,
+  "has_pages": false,
+  "has_discussions": false,
+  "forks_count": 0,
+  "mirror_url": null,
+  "archived": false,
+  "disabled": false,
+  "open_issues_count": 0,
+  "license": null,
+  "allow_forking": true,
+  "is_template": false,
+  "web_commit_signoff_required": false,
+  "topics": [],
+  "visibility": "public",
+  "forks": 0,
+  "open_issues": 0,
+  "watchers": 0,
+  "default_branch": "main",
+  "permissions": {
+    "admin": true,
+    "maintain": true,
+    "push": true,
+    "triage": true,
+    "pull": true
+  },
+  "temp_clone_token": "",
+  "allow_squash_merge": true,
+  "allow_merge_commit": true,
+  "allow_rebase_merge": true,
+  "allow_auto_merge": false,
+  "delete_branch_on_merge": false,
+  "allow_update_branch": false,
+  "use_squash_pr_title_as_default": false,
+  "squash_merge_commit_message": "COMMIT_MESSAGES",
+  "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+  "merge_commit_message": "PR_TITLE",
+  "merge_commit_title": "MERGE_MESSAGE",
+  "security_and_analysis": {
+    "secret_scanning": {
+      "status": "disabled"
+    },
+    "secret_scanning_push_protection": {
+      "status": "disabled"
+    },
+    "dependabot_security_updates": {
+      "status": "disabled"
+    }
+  },
+  "network_count": 0,
+  "subscribers_count": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json
new file mode 100644
index 0000000000..ee4b95192d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json
@@ -0,0 +1,53 @@
+[
+  {
+    "name": "branchToMerge",
+    "commit": {
+      "sha": "f06ea132e5c97d4237ac3ff717944791eb142ff1",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/f06ea132e5c97d4237ac3ff717944791eb142ff1"
+    },
+    "protected": false,
+    "protection": {
+      "enabled": false,
+      "required_status_checks": {
+        "enforcement_level": "off",
+        "contexts": [],
+        "checks": []
+      }
+    },
+    "protection_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches/branchToMerge/protection"
+  },
+  {
+    "name": "draft",
+    "commit": {
+      "sha": "030821b0eeed4bdaa271ad36ab1c7c20b778a7aa",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa"
+    },
+    "protected": false,
+    "protection": {
+      "enabled": false,
+      "required_status_checks": {
+        "enforcement_level": "off",
+        "contexts": [],
+        "checks": []
+      }
+    },
+    "protection_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches/draft/protection"
+  },
+  {
+    "name": "main",
+    "commit": {
+      "sha": "5316172f4450c481017e8c4ef2b299da23ee1c6c",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits/5316172f4450c481017e8c4ef2b299da23ee1c6c"
+    },
+    "protected": false,
+    "protection": {
+      "enabled": false,
+      "required_status_checks": {
+        "enforcement_level": "off",
+        "contexts": [],
+        "checks": []
+      }
+    },
+    "protection_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches/main/protection"
+  }
+]
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json
new file mode 100644
index 0000000000..3b1aee18a4
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json
@@ -0,0 +1,52 @@
+{
+  "content": {
+    "name": "branchToMerge",
+    "path": "refs/heads/branchToMerge",
+    "sha": "c6efc981d368b755bff4a1059fc3b43a78e62f88",
+    "size": 13,
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/branchToMerge?ref=refs/heads/branchToMerge",
+    "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/blob/refs/heads/branchToMerge/refs/heads/branchToMerge",
+    "git_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs/c6efc981d368b755bff4a1059fc3b43a78e62f88",
+    "download_url": "https://raw.githubusercontent.com/kgromov/temp-testSearchPullRequests/refs/heads/branchToMerge/refs/heads/branchToMerge",
+    "type": "file",
+    "_links": {
+      "self": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/branchToMerge?ref=refs/heads/branchToMerge",
+      "git": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs/c6efc981d368b755bff4a1059fc3b43a78e62f88",
+      "html": "https://github.com/kgromov/temp-testSearchPullRequests/blob/refs/heads/branchToMerge/refs/heads/branchToMerge"
+    }
+  },
+  "commit": {
+    "sha": "f06ea132e5c97d4237ac3ff717944791eb142ff1",
+    "node_id": "C_kwDOKsCogtoAKGYwNmVhMTMyZTVjOTdkNDIzN2FjM2ZmNzE3OTQ0NzkxZWIxNDJmZjE",
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/f06ea132e5c97d4237ac3ff717944791eb142ff1",
+    "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/f06ea132e5c97d4237ac3ff717944791eb142ff1",
+    "author": {
+      "name": "Konstantin Gromov",
+      "email": "rocky89@ukr.net",
+      "date": "2023-11-11T00:45:19Z"
+    },
+    "committer": {
+      "name": "Konstantin Gromov",
+      "email": "rocky89@ukr.net",
+      "date": "2023-11-11T00:45:19Z"
+    },
+    "tree": {
+      "sha": "4ee65e01709145c6b4bf30792e9a3c233433eb8e",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/trees/4ee65e01709145c6b4bf30792e9a3c233433eb8e"
+    },
+    "message": "test search",
+    "parents": [
+      {
+        "sha": "34b361864cacfbd165af1b06a659113099da1f38",
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/34b361864cacfbd165af1b06a659113099da1f38"
+      }
+    ],
+    "verification": {
+      "verified": false,
+      "reason": "unsigned",
+      "signature": null,
+      "payload": null
+    }
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json
new file mode 100644
index 0000000000..20b1b8ffe7
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json
@@ -0,0 +1,52 @@
+{
+  "content": {
+    "name": "draft",
+    "path": "refs/heads/draft",
+    "sha": "3eb0d66cf58c83d0094d63d27b0487e2b1f15f7d",
+    "size": 13,
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/draft?ref=refs/heads/draft",
+    "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/blob/refs/heads/draft/refs/heads/draft",
+    "git_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs/3eb0d66cf58c83d0094d63d27b0487e2b1f15f7d",
+    "download_url": "https://raw.githubusercontent.com/kgromov/temp-testSearchPullRequests/refs/heads/draft/refs/heads/draft",
+    "type": "file",
+    "_links": {
+      "self": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/draft?ref=refs/heads/draft",
+      "git": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs/3eb0d66cf58c83d0094d63d27b0487e2b1f15f7d",
+      "html": "https://github.com/kgromov/temp-testSearchPullRequests/blob/refs/heads/draft/refs/heads/draft"
+    }
+  },
+  "commit": {
+    "sha": "030821b0eeed4bdaa271ad36ab1c7c20b778a7aa",
+    "node_id": "C_kwDOKsCogtoAKDAzMDgyMWIwZWVlZDRiZGFhMjcxYWQzNmFiMWM3YzIwYjc3OGE3YWE",
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa",
+    "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa",
+    "author": {
+      "name": "Konstantin Gromov",
+      "email": "rocky89@ukr.net",
+      "date": "2023-11-11T00:45:18Z"
+    },
+    "committer": {
+      "name": "Konstantin Gromov",
+      "email": "rocky89@ukr.net",
+      "date": "2023-11-11T00:45:18Z"
+    },
+    "tree": {
+      "sha": "9b8530865b0a85f155bc5637a0a066995e518cc2",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/trees/9b8530865b0a85f155bc5637a0a066995e518cc2"
+    },
+    "message": "test search",
+    "parents": [
+      {
+        "sha": "34b361864cacfbd165af1b06a659113099da1f38",
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/commit/34b361864cacfbd165af1b06a659113099da1f38"
+      }
+    ],
+    "verification": {
+      "verified": false,
+      "reason": "unsigned",
+      "signature": null,
+      "payload": null
+    }
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json
new file mode 100644
index 0000000000..a0e4c49f0c
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json
@@ -0,0 +1,10 @@
+{
+  "ref": "refs/heads/branchToMerge",
+  "node_id": "REF_kwDOKsCogrhyZWZzL2hlYWRzL2JyYW5jaFRvTWVyZ2U",
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/branchToMerge",
+  "object": {
+    "sha": "34b361864cacfbd165af1b06a659113099da1f38",
+    "type": "commit",
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38"
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json
new file mode 100644
index 0000000000..cb6b8ce31b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json
@@ -0,0 +1,10 @@
+{
+  "ref": "refs/heads/draft",
+  "node_id": "REF_kwDOKsCogrByZWZzL2hlYWRzL2RyYWZ0",
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/draft",
+  "object": {
+    "sha": "34b361864cacfbd165af1b06a659113099da1f38",
+    "type": "commit",
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38"
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json
new file mode 100644
index 0000000000..8174478221
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json
@@ -0,0 +1,10 @@
+{
+  "ref": "refs/heads/main",
+  "node_id": "REF_kwDOKsCogq9yZWZzL2hlYWRzL21haW4",
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/main",
+  "object": {
+    "sha": "34b361864cacfbd165af1b06a659113099da1f38",
+    "type": "commit",
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits/34b361864cacfbd165af1b06a659113099da1f38"
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json
new file mode 100644
index 0000000000..21534c8037
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json
@@ -0,0 +1,79 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+  "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+  "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+  "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+  "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+  "id": 1988611948,
+  "node_id": "PR_kwDOKsCogs5fMcXi",
+  "number": 1,
+  "title": "Temp draft PR",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "labels": [
+    {
+      "id": 6195477233,
+      "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+      "name": "test",
+      "color": "ededed",
+      "default": false,
+      "description": null
+    }
+  ],
+  "state": "open",
+  "locked": false,
+  "assignee": null,
+  "assignees": [],
+  "milestone": null,
+  "comments": 0,
+  "created_at": "2023-11-11T00:45:20Z",
+  "updated_at": "2023-11-11T00:45:21Z",
+  "closed_at": null,
+  "author_association": "OWNER",
+  "active_lock_reason": null,
+  "draft": true,
+  "pull_request": {
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+    "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+    "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+    "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+    "merged_at": null
+  },
+  "body": "Hello, draft PR",
+  "closed_by": null,
+  "reactions": {
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+    "total_count": 0,
+    "+1": 0,
+    "-1": 0,
+    "laugh": 0,
+    "hooray": 0,
+    "confused": 0,
+    "heart": 0,
+    "rocket": 0,
+    "eyes": 0
+  },
+  "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+  "performed_via_github_app": null,
+  "state_reason": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json
new file mode 100644
index 0000000000..77fc6f04e7
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json
@@ -0,0 +1,79 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+  "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+  "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+  "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+  "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+  "id": 1988611964,
+  "node_id": "PR_kwDOKsCogs5fMcXv",
+  "number": 2,
+  "title": "Temp merged PR",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "labels": [
+    {
+      "id": 6195477233,
+      "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+      "name": "test",
+      "color": "ededed",
+      "default": false,
+      "description": null
+    }
+  ],
+  "state": "open",
+  "locked": false,
+  "assignee": null,
+  "assignees": [],
+  "milestone": null,
+  "comments": 0,
+  "created_at": "2023-11-11T00:45:22Z",
+  "updated_at": "2023-11-11T00:45:23Z",
+  "closed_at": null,
+  "author_association": "OWNER",
+  "active_lock_reason": null,
+  "draft": false,
+  "pull_request": {
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+    "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+    "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+    "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+    "merged_at": null
+  },
+  "body": "Hello, merged PR",
+  "closed_by": null,
+  "reactions": {
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+    "total_count": 0,
+    "+1": 0,
+    "-1": 0,
+    "laugh": 0,
+    "hooray": 0,
+    "confused": 0,
+    "heart": 0,
+    "rocket": 0,
+    "eyes": 0
+  },
+  "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+  "performed_via_github_app": null,
+  "state_reason": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json
new file mode 100644
index 0000000000..c4994493a4
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json
@@ -0,0 +1,119 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+  "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+  "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+  "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+  "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+  "id": 1988611964,
+  "node_id": "PR_kwDOKsCogs5fMcXv",
+  "number": 2,
+  "title": "Temp merged PR",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "labels": [
+    {
+      "id": 6195477233,
+      "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+      "name": "test",
+      "color": "ededed",
+      "default": false,
+      "description": null
+    }
+  ],
+  "state": "open",
+  "locked": false,
+  "assignee": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "assignees": [
+    {
+      "login": "kgromov",
+      "id": 9352794,
+      "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+      "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+      "gravatar_id": "",
+      "url": "https://api.github.com/users/kgromov",
+      "html_url": "https://github.com/kgromov",
+      "followers_url": "https://api.github.com/users/kgromov/followers",
+      "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+      "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+      "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+      "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+      "organizations_url": "https://api.github.com/users/kgromov/orgs",
+      "repos_url": "https://api.github.com/users/kgromov/repos",
+      "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+      "received_events_url": "https://api.github.com/users/kgromov/received_events",
+      "type": "User",
+      "site_admin": false
+    }
+  ],
+  "milestone": null,
+  "comments": 0,
+  "created_at": "2023-11-11T00:45:22Z",
+  "updated_at": "2023-11-11T00:45:24Z",
+  "closed_at": null,
+  "author_association": "OWNER",
+  "active_lock_reason": null,
+  "draft": false,
+  "pull_request": {
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+    "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+    "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+    "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+    "merged_at": null
+  },
+  "body": "Hello, merged PR",
+  "closed_by": null,
+  "reactions": {
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+    "total_count": 0,
+    "+1": 0,
+    "-1": 0,
+    "laugh": 0,
+    "hooray": 0,
+    "confused": 0,
+    "heart": 0,
+    "rocket": 0,
+    "eyes": 0
+  },
+  "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+  "performed_via_github_app": null,
+  "state_reason": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json
new file mode 100644
index 0000000000..9d80d68911
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json
@@ -0,0 +1,44 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1806603013",
+  "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2#issuecomment-1806603013",
+  "issue_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+  "id": 1806603013,
+  "node_id": "IC_kwDOKsCogs5rrpMF",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?u=5899f1dffa2b72a70c43540c405c144a758d348e&v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "created_at": "2023-11-11T00:45:24Z",
+  "updated_at": "2023-11-11T00:45:24Z",
+  "author_association": "OWNER",
+  "body": "@kgromov approved",
+  "reactions": {
+    "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1806603013/reactions",
+    "total_count": 0,
+    "+1": 0,
+    "-1": 0,
+    "laugh": 0,
+    "hooray": 0,
+    "confused": 0,
+    "heart": 0,
+    "rocket": 0,
+    "eyes": 0
+  },
+  "performed_via_github_app": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json
new file mode 100644
index 0000000000..bd504d1a63
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json
@@ -0,0 +1,342 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+  "id": 1597097455,
+  "node_id": "PR_kwDOKsCogs5fMcXv",
+  "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+  "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+  "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+  "issue_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+  "number": 2,
+  "state": "open",
+  "locked": false,
+  "title": "Temp merged PR",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "body": "Hello, merged PR",
+  "created_at": "2023-11-11T00:45:22Z",
+  "updated_at": "2023-11-11T00:45:22Z",
+  "closed_at": null,
+  "merged_at": null,
+  "merge_commit_sha": null,
+  "assignee": null,
+  "assignees": [],
+  "requested_reviewers": [],
+  "requested_teams": [],
+  "labels": [],
+  "milestone": null,
+  "draft": false,
+  "commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2/commits",
+  "review_comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2/comments",
+  "review_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/comments{/number}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+  "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/f06ea132e5c97d4237ac3ff717944791eb142ff1",
+  "head": {
+    "label": "kgromov:branchToMerge",
+    "ref": "branchToMerge",
+    "sha": "f06ea132e5c97d4237ac3ff717944791eb142ff1",
+    "user": {
+      "login": "kgromov",
+      "id": 9352794,
+      "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+      "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+      "gravatar_id": "",
+      "url": "https://api.github.com/users/kgromov",
+      "html_url": "https://github.com/kgromov",
+      "followers_url": "https://api.github.com/users/kgromov/followers",
+      "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+      "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+      "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+      "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+      "organizations_url": "https://api.github.com/users/kgromov/orgs",
+      "repos_url": "https://api.github.com/users/kgromov/repos",
+      "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+      "received_events_url": "https://api.github.com/users/kgromov/received_events",
+      "type": "User",
+      "site_admin": false
+    },
+    "repo": {
+      "id": 717269122,
+      "node_id": "R_kgDOKsCogg",
+      "name": "temp-testSearchPullRequests",
+      "full_name": "kgromov/temp-testSearchPullRequests",
+      "private": false,
+      "owner": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "description": "A test repository for testing the github-api project: temp-testSearchPullRequests",
+      "fork": false,
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "forks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/forks",
+      "keys_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/keys{/key_id}",
+      "collaborators_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/collaborators{/collaborator}",
+      "teams_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/teams",
+      "hooks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/hooks",
+      "issue_events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/events{/number}",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/events",
+      "assignees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/assignees{/user}",
+      "branches_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches{/branch}",
+      "tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/tags",
+      "blobs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs{/sha}",
+      "git_tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/tags{/sha}",
+      "git_refs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs{/sha}",
+      "trees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/trees{/sha}",
+      "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/{sha}",
+      "languages_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/languages",
+      "stargazers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/stargazers",
+      "contributors_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contributors",
+      "subscribers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscribers",
+      "subscription_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscription",
+      "commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits{/sha}",
+      "git_commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits{/sha}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/comments{/number}",
+      "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments{/number}",
+      "contents_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/{+path}",
+      "compare_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/compare/{base}...{head}",
+      "merges_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/merges",
+      "archive_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/{archive_format}{/ref}",
+      "downloads_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/downloads",
+      "issues_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues{/number}",
+      "pulls_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls{/number}",
+      "milestones_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/milestones{/number}",
+      "notifications_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/notifications{?since,all,participating}",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}",
+      "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}",
+      "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments",
+      "created_at": "2023-11-11T00:45:13Z",
+      "updated_at": "2023-11-11T00:45:13Z",
+      "pushed_at": "2023-11-11T00:45:20Z",
+      "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git",
+      "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git",
+      "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git",
+      "svn_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "homepage": "http://github-api.kohsuke.org/",
+      "size": 0,
+      "stargazers_count": 0,
+      "watchers_count": 0,
+      "language": null,
+      "has_issues": true,
+      "has_projects": true,
+      "has_downloads": true,
+      "has_wiki": true,
+      "has_pages": false,
+      "has_discussions": false,
+      "forks_count": 0,
+      "mirror_url": null,
+      "archived": false,
+      "disabled": false,
+      "open_issues_count": 2,
+      "license": null,
+      "allow_forking": true,
+      "is_template": false,
+      "web_commit_signoff_required": false,
+      "topics": [],
+      "visibility": "public",
+      "forks": 0,
+      "open_issues": 2,
+      "watchers": 0,
+      "default_branch": "main"
+    }
+  },
+  "base": {
+    "label": "kgromov:main",
+    "ref": "main",
+    "sha": "34b361864cacfbd165af1b06a659113099da1f38",
+    "user": {
+      "login": "kgromov",
+      "id": 9352794,
+      "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+      "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+      "gravatar_id": "",
+      "url": "https://api.github.com/users/kgromov",
+      "html_url": "https://github.com/kgromov",
+      "followers_url": "https://api.github.com/users/kgromov/followers",
+      "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+      "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+      "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+      "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+      "organizations_url": "https://api.github.com/users/kgromov/orgs",
+      "repos_url": "https://api.github.com/users/kgromov/repos",
+      "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+      "received_events_url": "https://api.github.com/users/kgromov/received_events",
+      "type": "User",
+      "site_admin": false
+    },
+    "repo": {
+      "id": 717269122,
+      "node_id": "R_kgDOKsCogg",
+      "name": "temp-testSearchPullRequests",
+      "full_name": "kgromov/temp-testSearchPullRequests",
+      "private": false,
+      "owner": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "description": "A test repository for testing the github-api project: temp-testSearchPullRequests",
+      "fork": false,
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "forks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/forks",
+      "keys_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/keys{/key_id}",
+      "collaborators_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/collaborators{/collaborator}",
+      "teams_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/teams",
+      "hooks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/hooks",
+      "issue_events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/events{/number}",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/events",
+      "assignees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/assignees{/user}",
+      "branches_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches{/branch}",
+      "tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/tags",
+      "blobs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs{/sha}",
+      "git_tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/tags{/sha}",
+      "git_refs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs{/sha}",
+      "trees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/trees{/sha}",
+      "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/{sha}",
+      "languages_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/languages",
+      "stargazers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/stargazers",
+      "contributors_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contributors",
+      "subscribers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscribers",
+      "subscription_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscription",
+      "commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits{/sha}",
+      "git_commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits{/sha}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/comments{/number}",
+      "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments{/number}",
+      "contents_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/{+path}",
+      "compare_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/compare/{base}...{head}",
+      "merges_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/merges",
+      "archive_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/{archive_format}{/ref}",
+      "downloads_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/downloads",
+      "issues_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues{/number}",
+      "pulls_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls{/number}",
+      "milestones_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/milestones{/number}",
+      "notifications_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/notifications{?since,all,participating}",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}",
+      "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}",
+      "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments",
+      "created_at": "2023-11-11T00:45:13Z",
+      "updated_at": "2023-11-11T00:45:13Z",
+      "pushed_at": "2023-11-11T00:45:20Z",
+      "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git",
+      "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git",
+      "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git",
+      "svn_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "homepage": "http://github-api.kohsuke.org/",
+      "size": 0,
+      "stargazers_count": 0,
+      "watchers_count": 0,
+      "language": null,
+      "has_issues": true,
+      "has_projects": true,
+      "has_downloads": true,
+      "has_wiki": true,
+      "has_pages": false,
+      "has_discussions": false,
+      "forks_count": 0,
+      "mirror_url": null,
+      "archived": false,
+      "disabled": false,
+      "open_issues_count": 2,
+      "license": null,
+      "allow_forking": true,
+      "is_template": false,
+      "web_commit_signoff_required": false,
+      "topics": [],
+      "visibility": "public",
+      "forks": 0,
+      "open_issues": 2,
+      "watchers": 0,
+      "default_branch": "main"
+    }
+  },
+  "_links": {
+    "self": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2"
+    },
+    "html": {
+      "href": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2"
+    },
+    "issue": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2"
+    },
+    "comments": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments"
+    },
+    "review_comments": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2/comments"
+    },
+    "review_comment": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/comments{/number}"
+    },
+    "commits": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2/commits"
+    },
+    "statuses": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/f06ea132e5c97d4237ac3ff717944791eb142ff1"
+    }
+  },
+  "author_association": "OWNER",
+  "auto_merge": null,
+  "active_lock_reason": null,
+  "merged": false,
+  "mergeable": null,
+  "rebaseable": null,
+  "mergeable_state": "unknown",
+  "merged_by": null,
+  "comments": 0,
+  "review_comments": 0,
+  "maintainer_can_modify": false,
+  "commits": 1,
+  "additions": 1,
+  "deletions": 0,
+  "changed_files": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json
new file mode 100644
index 0000000000..8b09eaa901
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json
@@ -0,0 +1,342 @@
+{
+  "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+  "id": 1597097442,
+  "node_id": "PR_kwDOKsCogs5fMcXi",
+  "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+  "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+  "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+  "issue_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+  "number": 1,
+  "state": "open",
+  "locked": false,
+  "title": "Temp draft PR",
+  "user": {
+    "login": "kgromov",
+    "id": 9352794,
+    "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+    "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/kgromov",
+    "html_url": "https://github.com/kgromov",
+    "followers_url": "https://api.github.com/users/kgromov/followers",
+    "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+    "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+    "organizations_url": "https://api.github.com/users/kgromov/orgs",
+    "repos_url": "https://api.github.com/users/kgromov/repos",
+    "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/kgromov/received_events",
+    "type": "User",
+    "site_admin": false
+  },
+  "body": "Hello, draft PR",
+  "created_at": "2023-11-11T00:45:20Z",
+  "updated_at": "2023-11-11T00:45:20Z",
+  "closed_at": null,
+  "merged_at": null,
+  "merge_commit_sha": null,
+  "assignee": null,
+  "assignees": [],
+  "requested_reviewers": [],
+  "requested_teams": [],
+  "labels": [],
+  "milestone": null,
+  "draft": true,
+  "commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1/commits",
+  "review_comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1/comments",
+  "review_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/comments{/number}",
+  "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+  "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa",
+  "head": {
+    "label": "kgromov:draft",
+    "ref": "draft",
+    "sha": "030821b0eeed4bdaa271ad36ab1c7c20b778a7aa",
+    "user": {
+      "login": "kgromov",
+      "id": 9352794,
+      "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+      "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+      "gravatar_id": "",
+      "url": "https://api.github.com/users/kgromov",
+      "html_url": "https://github.com/kgromov",
+      "followers_url": "https://api.github.com/users/kgromov/followers",
+      "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+      "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+      "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+      "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+      "organizations_url": "https://api.github.com/users/kgromov/orgs",
+      "repos_url": "https://api.github.com/users/kgromov/repos",
+      "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+      "received_events_url": "https://api.github.com/users/kgromov/received_events",
+      "type": "User",
+      "site_admin": false
+    },
+    "repo": {
+      "id": 717269122,
+      "node_id": "R_kgDOKsCogg",
+      "name": "temp-testSearchPullRequests",
+      "full_name": "kgromov/temp-testSearchPullRequests",
+      "private": false,
+      "owner": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "description": "A test repository for testing the github-api project: temp-testSearchPullRequests",
+      "fork": false,
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "forks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/forks",
+      "keys_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/keys{/key_id}",
+      "collaborators_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/collaborators{/collaborator}",
+      "teams_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/teams",
+      "hooks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/hooks",
+      "issue_events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/events{/number}",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/events",
+      "assignees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/assignees{/user}",
+      "branches_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches{/branch}",
+      "tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/tags",
+      "blobs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs{/sha}",
+      "git_tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/tags{/sha}",
+      "git_refs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs{/sha}",
+      "trees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/trees{/sha}",
+      "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/{sha}",
+      "languages_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/languages",
+      "stargazers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/stargazers",
+      "contributors_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contributors",
+      "subscribers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscribers",
+      "subscription_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscription",
+      "commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits{/sha}",
+      "git_commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits{/sha}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/comments{/number}",
+      "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments{/number}",
+      "contents_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/{+path}",
+      "compare_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/compare/{base}...{head}",
+      "merges_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/merges",
+      "archive_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/{archive_format}{/ref}",
+      "downloads_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/downloads",
+      "issues_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues{/number}",
+      "pulls_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls{/number}",
+      "milestones_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/milestones{/number}",
+      "notifications_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/notifications{?since,all,participating}",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}",
+      "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}",
+      "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments",
+      "created_at": "2023-11-11T00:45:13Z",
+      "updated_at": "2023-11-11T00:45:13Z",
+      "pushed_at": "2023-11-11T00:45:19Z",
+      "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git",
+      "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git",
+      "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git",
+      "svn_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "homepage": "http://github-api.kohsuke.org/",
+      "size": 0,
+      "stargazers_count": 0,
+      "watchers_count": 0,
+      "language": null,
+      "has_issues": true,
+      "has_projects": true,
+      "has_downloads": true,
+      "has_wiki": true,
+      "has_pages": false,
+      "has_discussions": false,
+      "forks_count": 0,
+      "mirror_url": null,
+      "archived": false,
+      "disabled": false,
+      "open_issues_count": 1,
+      "license": null,
+      "allow_forking": true,
+      "is_template": false,
+      "web_commit_signoff_required": false,
+      "topics": [],
+      "visibility": "public",
+      "forks": 0,
+      "open_issues": 1,
+      "watchers": 0,
+      "default_branch": "main"
+    }
+  },
+  "base": {
+    "label": "kgromov:main",
+    "ref": "main",
+    "sha": "34b361864cacfbd165af1b06a659113099da1f38",
+    "user": {
+      "login": "kgromov",
+      "id": 9352794,
+      "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+      "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+      "gravatar_id": "",
+      "url": "https://api.github.com/users/kgromov",
+      "html_url": "https://github.com/kgromov",
+      "followers_url": "https://api.github.com/users/kgromov/followers",
+      "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+      "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+      "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+      "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+      "organizations_url": "https://api.github.com/users/kgromov/orgs",
+      "repos_url": "https://api.github.com/users/kgromov/repos",
+      "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+      "received_events_url": "https://api.github.com/users/kgromov/received_events",
+      "type": "User",
+      "site_admin": false
+    },
+    "repo": {
+      "id": 717269122,
+      "node_id": "R_kgDOKsCogg",
+      "name": "temp-testSearchPullRequests",
+      "full_name": "kgromov/temp-testSearchPullRequests",
+      "private": false,
+      "owner": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "description": "A test repository for testing the github-api project: temp-testSearchPullRequests",
+      "fork": false,
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "forks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/forks",
+      "keys_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/keys{/key_id}",
+      "collaborators_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/collaborators{/collaborator}",
+      "teams_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/teams",
+      "hooks_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/hooks",
+      "issue_events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/events{/number}",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/events",
+      "assignees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/assignees{/user}",
+      "branches_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/branches{/branch}",
+      "tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/tags",
+      "blobs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/blobs{/sha}",
+      "git_tags_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/tags{/sha}",
+      "git_refs_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs{/sha}",
+      "trees_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/trees{/sha}",
+      "statuses_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/{sha}",
+      "languages_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/languages",
+      "stargazers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/stargazers",
+      "contributors_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contributors",
+      "subscribers_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscribers",
+      "subscription_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/subscription",
+      "commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/commits{/sha}",
+      "git_commits_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/commits{/sha}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/comments{/number}",
+      "issue_comment_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments{/number}",
+      "contents_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/contents/{+path}",
+      "compare_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/compare/{base}...{head}",
+      "merges_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/merges",
+      "archive_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/{archive_format}{/ref}",
+      "downloads_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/downloads",
+      "issues_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues{/number}",
+      "pulls_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls{/number}",
+      "milestones_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/milestones{/number}",
+      "notifications_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/notifications{?since,all,participating}",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels{/name}",
+      "releases_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/releases{/id}",
+      "deployments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/deployments",
+      "created_at": "2023-11-11T00:45:13Z",
+      "updated_at": "2023-11-11T00:45:13Z",
+      "pushed_at": "2023-11-11T00:45:19Z",
+      "git_url": "git://github.com/kgromov/temp-testSearchPullRequests.git",
+      "ssh_url": "git@github.com:kgromov/temp-testSearchPullRequests.git",
+      "clone_url": "https://github.com/kgromov/temp-testSearchPullRequests.git",
+      "svn_url": "https://github.com/kgromov/temp-testSearchPullRequests",
+      "homepage": "http://github-api.kohsuke.org/",
+      "size": 0,
+      "stargazers_count": 0,
+      "watchers_count": 0,
+      "language": null,
+      "has_issues": true,
+      "has_projects": true,
+      "has_downloads": true,
+      "has_wiki": true,
+      "has_pages": false,
+      "has_discussions": false,
+      "forks_count": 0,
+      "mirror_url": null,
+      "archived": false,
+      "disabled": false,
+      "open_issues_count": 1,
+      "license": null,
+      "allow_forking": true,
+      "is_template": false,
+      "web_commit_signoff_required": false,
+      "topics": [],
+      "visibility": "public",
+      "forks": 0,
+      "open_issues": 1,
+      "watchers": 0,
+      "default_branch": "main"
+    }
+  },
+  "_links": {
+    "self": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1"
+    },
+    "html": {
+      "href": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1"
+    },
+    "issue": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1"
+    },
+    "comments": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments"
+    },
+    "review_comments": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1/comments"
+    },
+    "review_comment": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/comments{/number}"
+    },
+    "commits": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1/commits"
+    },
+    "statuses": {
+      "href": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/statuses/030821b0eeed4bdaa271ad36ab1c7c20b778a7aa"
+    }
+  },
+  "author_association": "OWNER",
+  "auto_merge": null,
+  "active_lock_reason": null,
+  "merged": false,
+  "mergeable": null,
+  "rebaseable": null,
+  "mergeable_state": "unknown",
+  "merged_by": null,
+  "comments": 0,
+  "review_comments": 0,
+  "maintainer_can_modify": false,
+  "commits": 1,
+  "additions": 1,
+  "deletions": 0,
+  "changed_files": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json
new file mode 100644
index 0000000000..f454b6bd16
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json
@@ -0,0 +1,85 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json
new file mode 100644
index 0000000000..7e0d45cc94
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json
new file mode 100644
index 0000000000..c3370de181
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json
new file mode 100644
index 0000000000..7e0d45cc94
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json
new file mode 100644
index 0000000000..f454b6bd16
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json
@@ -0,0 +1,85 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json
new file mode 100644
index 0000000000..c3370de181
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json
new file mode 100644
index 0000000000..7e0d45cc94
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json
new file mode 100644
index 0000000000..7e0d45cc94
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json
new file mode 100644
index 0000000000..c3370de181
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c873591d-123d-42c8-920f-901a7160730b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c873591d-123d-42c8-920f-901a7160730b.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-c873591d-123d-42c8-920f-901a7160730b.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json
new file mode 100644
index 0000000000..7e0d45cc94
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json
new file mode 100644
index 0000000000..7e0d45cc94
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json
@@ -0,0 +1,204 @@
+{
+  "total_count": 2,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    },
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+      "id": 1988611948,
+      "node_id": "PR_kwDOKsCogs5fMcXi",
+      "number": 1,
+      "title": "Temp draft PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "open",
+      "locked": false,
+      "assignee": null,
+      "assignees": [],
+      "milestone": null,
+      "comments": 0,
+      "created_at": "2023-11-11T00:45:20Z",
+      "updated_at": "2023-11-11T00:45:21Z",
+      "closed_at": null,
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": true,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/1.patch",
+        "merged_at": null
+      },
+      "body": "Hello, draft PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/1/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json
new file mode 100644
index 0000000000..e9e853890d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json
@@ -0,0 +1,125 @@
+{
+  "total_count": 1,
+  "incomplete_results": false,
+  "items": [
+    {
+      "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2",
+      "repository_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests",
+      "labels_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/labels{/name}",
+      "comments_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+      "events_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/events",
+      "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+      "id": 1988611964,
+      "node_id": "PR_kwDOKsCogs5fMcXv",
+      "number": 2,
+      "title": "Temp merged PR",
+      "user": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "labels": [
+        {
+          "id": 6195477233,
+          "node_id": "LA_kwDOKsCogs8AAAABcUd68Q",
+          "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/labels/test",
+          "name": "test",
+          "color": "ededed",
+          "default": false,
+          "description": null
+        }
+      ],
+      "state": "closed",
+      "locked": false,
+      "assignee": {
+        "login": "kgromov",
+        "id": 9352794,
+        "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+        "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+        "gravatar_id": "",
+        "url": "https://api.github.com/users/kgromov",
+        "html_url": "https://github.com/kgromov",
+        "followers_url": "https://api.github.com/users/kgromov/followers",
+        "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+        "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+        "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+        "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+        "organizations_url": "https://api.github.com/users/kgromov/orgs",
+        "repos_url": "https://api.github.com/users/kgromov/repos",
+        "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+        "received_events_url": "https://api.github.com/users/kgromov/received_events",
+        "type": "User",
+        "site_admin": false
+      },
+      "assignees": [
+        {
+          "login": "kgromov",
+          "id": 9352794,
+          "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+          "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+          "gravatar_id": "",
+          "url": "https://api.github.com/users/kgromov",
+          "html_url": "https://github.com/kgromov",
+          "followers_url": "https://api.github.com/users/kgromov/followers",
+          "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+          "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+          "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+          "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+          "organizations_url": "https://api.github.com/users/kgromov/orgs",
+          "repos_url": "https://api.github.com/users/kgromov/repos",
+          "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+          "received_events_url": "https://api.github.com/users/kgromov/received_events",
+          "type": "User",
+          "site_admin": false
+        }
+      ],
+      "milestone": null,
+      "comments": 1,
+      "created_at": "2023-11-11T00:45:22Z",
+      "updated_at": "2023-11-11T00:45:26Z",
+      "closed_at": "2023-11-11T00:45:25Z",
+      "author_association": "OWNER",
+      "active_lock_reason": null,
+      "draft": false,
+      "pull_request": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2",
+        "html_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2",
+        "diff_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.diff",
+        "patch_url": "https://github.com/kgromov/temp-testSearchPullRequests/pull/2.patch",
+        "merged_at": "2023-11-11T00:45:25Z"
+      },
+      "body": "Hello, merged PR",
+      "reactions": {
+        "url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/reactions",
+        "total_count": 0,
+        "+1": 0,
+        "-1": 0,
+        "laugh": 0,
+        "hooray": 0,
+        "confused": 0,
+        "heart": 0,
+        "rocket": 0,
+        "eyes": 0
+      },
+      "timeline_url": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/2/timeline",
+      "performed_via_github_app": null,
+      "state_reason": null,
+      "score": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json
new file mode 100644
index 0000000000..94f55585dd
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/__files/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json
@@ -0,0 +1,34 @@
+{
+  "login": "kgromov",
+  "id": 9352794,
+  "node_id": "MDQ6VXNlcjkzNTI3OTQ=",
+  "avatar_url": "https://avatars.githubusercontent.com/u/9352794?v=4",
+  "gravatar_id": "",
+  "url": "https://api.github.com/users/kgromov",
+  "html_url": "https://github.com/kgromov",
+  "followers_url": "https://api.github.com/users/kgromov/followers",
+  "following_url": "https://api.github.com/users/kgromov/following{/other_user}",
+  "gists_url": "https://api.github.com/users/kgromov/gists{/gist_id}",
+  "starred_url": "https://api.github.com/users/kgromov/starred{/owner}{/repo}",
+  "subscriptions_url": "https://api.github.com/users/kgromov/subscriptions",
+  "organizations_url": "https://api.github.com/users/kgromov/orgs",
+  "repos_url": "https://api.github.com/users/kgromov/repos",
+  "events_url": "https://api.github.com/users/kgromov/events{/privacy}",
+  "received_events_url": "https://api.github.com/users/kgromov/received_events",
+  "type": "User",
+  "site_admin": false,
+  "name": "Konstantin Gromov",
+  "company": null,
+  "blog": "https://www.linkedin.com/in/konstantin-gromov-52466359/",
+  "location": "Odessa",
+  "email": "konst.gromov@gmail.com",
+  "hireable": null,
+  "bio": "Software developer at EG",
+  "twitter_username": null,
+  "public_repos": 92,
+  "public_gists": 11,
+  "followers": 0,
+  "following": 9,
+  "created_at": "2014-10-22T14:20:36Z",
+  "updated_at": "2023-10-27T15:36:08Z"
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json
new file mode 100644
index 0000000000..c2e6a4f730
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json
@@ -0,0 +1,50 @@
+{
+  "id": "b6c87345-2fe0-4d7a-894d-a59a9559fa4c",
+  "name": "repos_kgromov_temp-testsearchpullrequests",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests-b6c87345-2fe0-4d7a-894d-a59a9559fa4c.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:17 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"91ddd65994343ccb5a4791c784aa5feb9178a8a77895e70e92efa536ed54cd8c\"",
+      "Last-Modified": "Sat, 11 Nov 2023 00:45:13 GMT",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4760",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "240",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF91:6EFB:20B662DA:2119B0D7:654ECE9D"
+    }
+  },
+  "uuid": "b6c87345-2fe0-4d7a-894d-a59a9559fa4c",
+  "persistent": true,
+  "insertionIndex": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json
new file mode 100644
index 0000000000..46b9487a34
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json
@@ -0,0 +1,49 @@
+{
+  "id": "2e4a86eb-0958-47e4-a4b8-c9d8e71eec40",
+  "name": "repos_kgromov_temp-testsearchpullrequests_branches",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/branches",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_branches-2e4a86eb-0958-47e4-a4b8-c9d8e71eec40.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:33 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"208becc71dac6c18a7d3d92f6dd5b33dcf778d79b88ddcc5d9b1e58062dd3dc0\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4747",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "253",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB9:AC81:21AD3875:22108938:654ECEAD"
+    }
+  },
+  "uuid": "2e4a86eb-0958-47e4-a4b8-c9d8e71eec40",
+  "persistent": true,
+  "insertionIndex": 30
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json
new file mode 100644
index 0000000000..735e2e192c
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json
@@ -0,0 +1,56 @@
+{
+  "id": "57fe6839-4f2a-416e-8c31-cccdabdb8617",
+  "name": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/branchToMerge",
+    "method": "PUT",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"path\":\"refs/heads/branchToMerge\",\"message\":\"test search\",\"branch\":\"refs/heads/branchToMerge\",\"content\":\"RW1wdHkgY29udGVudA==\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_branchtomerge-57fe6839-4f2a-416e-8c31-cccdabdb8617.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:19 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"99c67de25b0f4bafb3f954b8376e115d245584c80d4b749ea52a5fa31f7213f8\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4755",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "245",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF98:85F2:1FCEC749:2031CC28:654ECE9F"
+    }
+  },
+  "uuid": "57fe6839-4f2a-416e-8c31-cccdabdb8617",
+  "persistent": true,
+  "insertionIndex": 7
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json
new file mode 100644
index 0000000000..bc0a31f6a1
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json
@@ -0,0 +1,56 @@
+{
+  "id": "e2acff50-d3c7-4a04-a522-ddf34b102a8f",
+  "name": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/contents/refs/heads/draft",
+    "method": "PUT",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"path\":\"refs/heads/draft\",\"message\":\"test search\",\"branch\":\"refs/heads/draft\",\"content\":\"RHJhZnQgY29udGVudA==\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_contents_refs_heads_draft-e2acff50-d3c7-4a04-a522-ddf34b102a8f.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:18 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"f4e437e01957a2e8fa8af77c226aef213abd9628b6891eff5e32d14370e6673d\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4757",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "243",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF95:DBA9:20FC324F:215F3618:654ECE9E"
+    }
+  },
+  "uuid": "e2acff50-d3c7-4a04-a522-ddf34b102a8f",
+  "persistent": true,
+  "insertionIndex": 5
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json
new file mode 100644
index 0000000000..7df2e71fc4
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json
@@ -0,0 +1,57 @@
+{
+  "id": "a6b99918-8bcc-4802-b4f7-664a6696ac4d",
+  "name": "repos_kgromov_temp-testsearchpullrequests_git_refs",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/git/refs",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"ref\":\"refs/heads/branchToMerge\",\"sha\":\"34b361864cacfbd165af1b06a659113099da1f38\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs-a6b99918-8bcc-4802-b4f7-664a6696ac4d.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:19 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"997a0d8ddf2be53434e491613dc575ce918047eaeeda2ffcde5553af28c51d77\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4756",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "244",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF97:A2C4:1FF181FE:20561D88:654ECE9E",
+      "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/branchToMerge"
+    }
+  },
+  "uuid": "a6b99918-8bcc-4802-b4f7-664a6696ac4d",
+  "persistent": true,
+  "insertionIndex": 6
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json
new file mode 100644
index 0000000000..ac604bd50d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json
@@ -0,0 +1,57 @@
+{
+  "id": "e1be828c-2137-4d51-b66f-7461d9a2c0b0",
+  "name": "repos_kgromov_temp-testsearchpullrequests_git_refs",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/git/refs",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"ref\":\"refs/heads/draft\",\"sha\":\"34b361864cacfbd165af1b06a659113099da1f38\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs-e1be828c-2137-4d51-b66f-7461d9a2c0b0.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:18 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"a51b1ae435087d61f786dffd94ccc7ee477ef5aecf2cb053766e18b3fae50eae\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4758",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "242",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF93:DBA9:20FC3123:215F34FC:654ECE9D",
+      "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/draft"
+    }
+  },
+  "uuid": "e1be828c-2137-4d51-b66f-7461d9a2c0b0",
+  "persistent": true,
+  "insertionIndex": 4
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json
new file mode 100644
index 0000000000..f9cb82c2c3
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json
@@ -0,0 +1,51 @@
+{
+  "id": "14ddc043-8064-4aab-8904-aa98f8372125",
+  "name": "repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/git/refs/heads/main",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_git_refs_heads_main-14ddc043-8064-4aab-8904-aa98f8372125.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:17 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"d3a5ff9499201676863cc1ad29bf4bf6953ca43e11f75647a31f6e4d5c92e458\"",
+      "Last-Modified": "Sat, 11 Nov 2023 00:45:13 GMT",
+      "X-Poll-Interval": "300",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4759",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "241",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF92:10F1B:20A84490:210C3B25:654ECE9D"
+    }
+  },
+  "uuid": "14ddc043-8064-4aab-8904-aa98f8372125",
+  "persistent": true,
+  "insertionIndex": 3
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json
new file mode 100644
index 0000000000..3bcd745cfd
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json
@@ -0,0 +1,56 @@
+{
+  "id": "e749de4a-bd7c-48bf-aa8e-8ba08a208f24",
+  "name": "repos_kgromov_temp-testsearchpullrequests_issues_1",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/issues/1",
+    "method": "PATCH",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"labels\":[\"test\"]}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_1-e749de4a-bd7c-48bf-aa8e-8ba08a208f24.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:21 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"eb0556978304193775dbd6aa2bc17f4a2c7f5cba84e330b213024cd7257ba93d\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4753",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "247",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF9B:7A19:20E8F917:214CE9D1:654ECEA0"
+    }
+  },
+  "uuid": "e749de4a-bd7c-48bf-aa8e-8ba08a208f24",
+  "persistent": true,
+  "insertionIndex": 9
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json
new file mode 100644
index 0000000000..f531c73457
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json
@@ -0,0 +1,56 @@
+{
+  "id": "1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5",
+  "name": "repos_kgromov_temp-testsearchpullrequests_issues_2",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/issues/2",
+    "method": "PATCH",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"labels\":[\"test\"]}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2-1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:23 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"1f8318cf798f212b7f6969587321ff4e36c6c785488220453a3e9de481517b7f\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4751",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "249",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF9F:DBA9:20FC3C55:215F404A:654ECEA3"
+    }
+  },
+  "uuid": "1cfdc674-e79d-4b71-b9c0-3b4fcbfc86d5",
+  "persistent": true,
+  "insertionIndex": 11
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json
new file mode 100644
index 0000000000..174056e51e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json
@@ -0,0 +1,56 @@
+{
+  "id": "b33c18df-1b3d-4736-a162-420da2b9bcd5",
+  "name": "repos_kgromov_temp-testsearchpullrequests_issues_2",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/issues/2",
+    "method": "PATCH",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"assignees\":[\"kgromov\"]}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2-b33c18df-1b3d-4736-a162-420da2b9bcd5.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:24 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"ba01a57d7f7501f05fabc09617a8b2ab694c4a89d14a47aeaad23527cd4bbcb0\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4750",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "250",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFA0:56FE:2147DBD1:21AC6BCA:654ECEA3"
+    }
+  },
+  "uuid": "b33c18df-1b3d-4736-a162-420da2b9bcd5",
+  "persistent": true,
+  "insertionIndex": 12
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json
new file mode 100644
index 0000000000..629f84b2f0
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json
@@ -0,0 +1,57 @@
+{
+  "id": "1868398e-38c8-4adb-b1d4-c5ed4bb624c1",
+  "name": "repos_kgromov_temp-testsearchpullrequests_issues_2_comments",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/issues/2/comments",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"body\":\"@kgromov approved\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_issues_2_comments-1868398e-38c8-4adb-b1d4-c5ed4bb624c1.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:25 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"bd0a0b30b6982b8b367c25195956260f68e76fb9c8e19c3b1f62322e56521f33\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4749",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "251",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFA2:669F:2800717F:2873530F:654ECEA4",
+      "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/issues/comments/1806603013"
+    }
+  },
+  "uuid": "1868398e-38c8-4adb-b1d4-c5ed4bb624c1",
+  "persistent": true,
+  "insertionIndex": 13
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json
new file mode 100644
index 0000000000..a2ec334cd5
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json
@@ -0,0 +1,57 @@
+{
+  "id": "29fe89f2-88e8-4866-910f-708c8a258bd5",
+  "name": "repos_kgromov_temp-testsearchpullrequests_pulls",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/pulls",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.shadow-cat-preview+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"head\":\"refs/heads/branchToMerge\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"Temp merged PR\",\"body\":\"Hello, merged PR\",\"base\":\"refs/heads/main\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_pulls-29fe89f2-88e8-4866-910f-708c8a258bd5.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:22 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"08b6f140aad08c5f3f6549776acc144eec8152ed3a388609f4bf4e73a54c0578\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4752",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "248",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF9C:C346:20B0F74B:21144682:654ECEA1",
+      "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/2"
+    }
+  },
+  "uuid": "29fe89f2-88e8-4866-910f-708c8a258bd5",
+  "persistent": true,
+  "insertionIndex": 10
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json
new file mode 100644
index 0000000000..5af4d78ae1
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json
@@ -0,0 +1,57 @@
+{
+  "id": "af640148-1955-4c33-b3c5-f051656787a9",
+  "name": "repos_kgromov_temp-testsearchpullrequests_pulls",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/pulls",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.shadow-cat-preview+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"head\":\"refs/heads/draft\",\"draft\":true,\"maintainer_can_modify\":true,\"title\":\"Temp draft PR\",\"body\":\"Hello, draft PR\",\"base\":\"refs/heads/main\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "bodyFileName": "repos_kgromov_temp-testsearchpullrequests_pulls-af640148-1955-4c33-b3c5-f051656787a9.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:20 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"488f6a3ae20a738e00e1bfddc966efad599c727886b5e64a84fb551aabf95251\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4754",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "246",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF99:8C73:2078CD0E:20DD6391:654ECE9F",
+      "Location": "https://api.github.com/repos/kgromov/temp-testSearchPullRequests/pulls/1"
+    }
+  },
+  "uuid": "af640148-1955-4c33-b3c5-f051656787a9",
+  "persistent": true,
+  "insertionIndex": 8
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-17dc81ea-0faf-434b-9de4-b0493013e514.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-17dc81ea-0faf-434b-9de4-b0493013e514.json
new file mode 100644
index 0000000000..0bd69135eb
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/repos_kgromov_temp-testsearchpullrequests_pulls_2_merge-17dc81ea-0faf-434b-9de4-b0493013e514.json
@@ -0,0 +1,56 @@
+{
+  "id": "17dc81ea-0faf-434b-9de4-b0493013e514",
+  "name": "repos_kgromov_temp-testsearchpullrequests_pulls_2_merge",
+  "request": {
+    "url": "/repos/kgromov/temp-testSearchPullRequests/pulls/2/merge",
+    "method": "PUT",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"commit_message\":\"Merged test PR\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 200,
+    "body": "{\"sha\":\"5316172f4450c481017e8c4ef2b299da23ee1c6c\",\"merged\":true,\"message\":\"Pull Request successfully merged\"}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:26 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"c78830beea37d2d0cde293e28479bdf6243135ee7036f58c1141fb54d468152c\"",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4748",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "252",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFA3:8C73:2078D9FB:20DD70B1:654ECEA5"
+    }
+  },
+  "uuid": "17dc81ea-0faf-434b-9de4-b0493013e514",
+  "persistent": true,
+  "insertionIndex": 14
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json
new file mode 100644
index 0000000000..590426176f
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json
@@ -0,0 +1,51 @@
+{
+  "id": "14eebf66-33e1-4280-a68d-9f2d85d8b4db",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aopen+draft%3Atrue+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-14eebf66-33e1-4280-a68d-9f2d85d8b4db.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:27 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "29",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "1",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFA4:F99F:207C33E5:20DFE183:654ECEA7"
+    }
+  },
+  "uuid": "14eebf66-33e1-4280-a68d-9f2d85d8b4db",
+  "persistent": true,
+  "scenarioName": "scenario-1-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-1-search-issues-2",
+  "insertionIndex": 15
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json
new file mode 100644
index 0000000000..739cac413b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json
@@ -0,0 +1,50 @@
+{
+  "id": "18eecc46-bf6e-47a3-805c-be128054c31d",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?order=desc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-18eecc46-bf6e-47a3-805c-be128054c31d.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:36 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "7",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "23",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFC4:1B81:24467199:24AF7A02:654ECEB0"
+    }
+  },
+  "uuid": "18eecc46-bf6e-47a3-805c-be128054c31d",
+  "persistent": true,
+  "scenarioName": "scenario-10-search-issues",
+  "requiredScenarioState": "scenario-10-search-issues-3",
+  "insertionIndex": 38
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json
new file mode 100644
index 0000000000..01d2d7de54
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json
@@ -0,0 +1,51 @@
+{
+  "id": "1cf472a0-822d-4762-b4e9-3104ea5ada8f",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-11+updated%3A2023-11-11+closed%3A2023-11-11+merged%3A2023-11-11+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-1cf472a0-822d-4762-b4e9-3104ea5ada8f.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:31 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "20",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "10",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB2:4CF1:20DB6A3D:213F1300:654ECEAB"
+    }
+  },
+  "uuid": "1cf472a0-822d-4762-b4e9-3104ea5ada8f",
+  "persistent": true,
+  "scenarioName": "scenario-5-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-5-search-issues-2",
+  "insertionIndex": 24
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json
new file mode 100644
index 0000000000..b964f71e12
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json
@@ -0,0 +1,50 @@
+{
+  "id": "31731f7d-b999-4f23-b767-6e7634c7b161",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+base%3Amain+head%3AbranchToMerge+SHA%3Af06ea132e5c97d4237ac3ff717944791eb142ff1+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-31731f7d-b999-4f23-b767-6e7634c7b161.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:34 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "13",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "17",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFBD:8C73:2078EC1C:20DD8328:654ECEAE"
+    }
+  },
+  "uuid": "31731f7d-b999-4f23-b767-6e7634c7b161",
+  "persistent": true,
+  "scenarioName": "scenario-8-search-issues",
+  "requiredScenarioState": "scenario-8-search-issues-2",
+  "insertionIndex": 32
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json
new file mode 100644
index 0000000000..ef37c63d45
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json
@@ -0,0 +1,50 @@
+{
+  "id": "3399ef05-53c4-4f3f-9ada-89093e9f280e",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+merged%3A2023-11-01..2023-11-11+closed%3A2023-11-01..2023-11-11+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-3399ef05-53c4-4f3f-9ada-89093e9f280e.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:30 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "21",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "9",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB1:85F2:1FCEDEAD:2031E3D9:654ECEAA"
+    }
+  },
+  "uuid": "3399ef05-53c4-4f3f-9ada-89093e9f280e",
+  "persistent": true,
+  "scenarioName": "scenario-4-search-issues",
+  "requiredScenarioState": "scenario-4-search-issues-2",
+  "insertionIndex": 23
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json
new file mode 100644
index 0000000000..dd29713dc3
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json
@@ -0,0 +1,50 @@
+{
+  "id": "3b75637b-21a8-4415-b951-02b1d64647cc",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?sort=created&order=asc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-3b75637b-21a8-4415-b951-02b1d64647cc.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:35 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "10",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "20",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFC0:6EFB:20B68E26:2119DCAD:654ECEAF"
+    }
+  },
+  "uuid": "3b75637b-21a8-4415-b951-02b1d64647cc",
+  "persistent": true,
+  "scenarioName": "scenario-9-search-issues",
+  "requiredScenarioState": "scenario-9-search-issues-3",
+  "insertionIndex": 35
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json
new file mode 100644
index 0000000000..12e6af9948
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json
@@ -0,0 +1,51 @@
+{
+  "id": "44d16c49-384f-4edb-8718-eef330664a1f",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?order=desc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-44d16c49-384f-4edb-8718-eef330664a1f.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:35 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "9",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "21",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFC1:669F:28008B53:28736D69:654ECEAF"
+    }
+  },
+  "uuid": "44d16c49-384f-4edb-8718-eef330664a1f",
+  "persistent": true,
+  "scenarioName": "scenario-10-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-10-search-issues-2",
+  "insertionIndex": 36
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json
new file mode 100644
index 0000000000..c980cfa728
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json
@@ -0,0 +1,50 @@
+{
+  "id": "4bcd55b4-5658-48bf-b744-88d4ef5c8878",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aopen+draft%3Atrue+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-4bcd55b4-5658-48bf-b744-88d4ef5c8878.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:28 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "28",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "2",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFA6:4CF1:20DB6243:213F0AF3:654ECEA8"
+    }
+  },
+  "uuid": "4bcd55b4-5658-48bf-b744-88d4ef5c8878",
+  "persistent": true,
+  "scenarioName": "scenario-1-search-issues",
+  "requiredScenarioState": "scenario-1-search-issues-2",
+  "insertionIndex": 16
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json
new file mode 100644
index 0000000000..7b142a47ba
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json
@@ -0,0 +1,50 @@
+{
+  "id": "53ee62a3-a853-4c3a-818e-e2de55bd92f2",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-11+updated%3A2023-11-11+closed%3A2023-11-11+merged%3A2023-11-11+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-53ee62a3-a853-4c3a-818e-e2de55bd92f2.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:31 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "19",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "11",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB3:AC81:21AD3477:2210853A:654ECEAB"
+    }
+  },
+  "uuid": "53ee62a3-a853-4c3a-818e-e2de55bd92f2",
+  "persistent": true,
+  "scenarioName": "scenario-5-search-issues",
+  "requiredScenarioState": "scenario-5-search-issues-2",
+  "insertionIndex": 25
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json
new file mode 100644
index 0000000000..fa63b45437
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json
@@ -0,0 +1,51 @@
+{
+  "id": "58370fe0-3ab4-4234-8f8f-eb6499b12557",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?sort=created&order=asc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-58370fe0-3ab4-4234-8f8f-eb6499b12557.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:35 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "11",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "19",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFBF:D828:237CAA52:23E5B247:654ECEAE"
+    }
+  },
+  "uuid": "58370fe0-3ab4-4234-8f8f-eb6499b12557",
+  "persistent": true,
+  "scenarioName": "scenario-9-search-issues",
+  "requiredScenarioState": "scenario-9-search-issues-2",
+  "newScenarioState": "scenario-9-search-issues-3",
+  "insertionIndex": 34
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json
new file mode 100644
index 0000000000..e6c578d7a4
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json
@@ -0,0 +1,51 @@
+{
+  "id": "66d61c85-08d3-4266-8348-6d54ca42b5ce",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aclosed+is%3Amerged+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-66d61c85-08d3-4266-8348-6d54ca42b5ce.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:28 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "27",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "3",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFA8:6EFB:20B67F45:2119CDA1:654ECEA8"
+    }
+  },
+  "uuid": "66d61c85-08d3-4266-8348-6d54ca42b5ce",
+  "persistent": true,
+  "scenarioName": "scenario-2-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-2-search-issues-2",
+  "insertionIndex": 17
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json
new file mode 100644
index 0000000000..e7bac5abc1
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-76b76168-673f-4baf-ac20-ac395571b229.json
@@ -0,0 +1,51 @@
+{
+  "id": "76b76168-673f-4baf-ac20-ac395571b229",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?order=desc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+label%3Atest+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-76b76168-673f-4baf-ac20-ac395571b229.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:36 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "8",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "22",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFC3:8C73:2078F037:20DD8750:654ECEB0"
+    }
+  },
+  "uuid": "76b76168-673f-4baf-ac20-ac395571b229",
+  "persistent": true,
+  "scenarioName": "scenario-10-search-issues",
+  "requiredScenarioState": "scenario-10-search-issues-2",
+  "newScenarioState": "scenario-10-search-issues-3",
+  "insertionIndex": 37
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json
new file mode 100644
index 0000000000..53ea363e1d
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json
@@ -0,0 +1,50 @@
+{
+  "id": "86bea00c-825a-4691-aada-32e5afcfd3bd",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+assignee%3Akgromov+mentions%3Akgromov+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-86bea00c-825a-4691-aada-32e5afcfd3bd.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:37 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "5",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "25",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFC6:4CF1:20DB784E:213F216B:654ECEB1"
+    }
+  },
+  "uuid": "86bea00c-825a-4691-aada-32e5afcfd3bd",
+  "persistent": true,
+  "scenarioName": "scenario-11-search-issues",
+  "requiredScenarioState": "scenario-11-search-issues-2",
+  "insertionIndex": 40
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json
new file mode 100644
index 0000000000..e8ba2929c6
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json
@@ -0,0 +1,51 @@
+{
+  "id": "8f08a0af-7a05-4e15-a99b-f6618f96d753",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?sort=updated&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-01..2023-11-11+updated%3A2023-11-01..2023-11-11+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-8f08a0af-7a05-4e15-a99b-f6618f96d753.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:29 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "25",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "5",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFAB:85F2:1FCEDB71:2031E09A:654ECEA9"
+    }
+  },
+  "uuid": "8f08a0af-7a05-4e15-a99b-f6618f96d753",
+  "persistent": true,
+  "scenarioName": "scenario-3-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-3-search-issues-2",
+  "insertionIndex": 19
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json
new file mode 100644
index 0000000000..e138c4d2c2
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json
@@ -0,0 +1,51 @@
+{
+  "id": "ad2de6f7-e39b-4056-8990-066360bee08b",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+assignee%3Akgromov+mentions%3Akgromov+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-ad2de6f7-e39b-4056-8990-066360bee08b.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:37 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "6",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "24",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFC5:6EFB:20B6913F:2119DFD8:654ECEB0"
+    }
+  },
+  "uuid": "ad2de6f7-e39b-4056-8990-066360bee08b",
+  "persistent": true,
+  "scenarioName": "scenario-11-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-11-search-issues-2",
+  "insertionIndex": 39
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json
new file mode 100644
index 0000000000..de4506729e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json
@@ -0,0 +1,51 @@
+{
+  "id": "b0b66e35-c920-4e82-851d-636350624bb7",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?sort=created&order=asc&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+Temp+in%3Atitle+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-b0b66e35-c920-4e82-851d-636350624bb7.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:34 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "12",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "18",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFBE:FB7E:D18B2C7:D3DD0D0:654ECEAE"
+    }
+  },
+  "uuid": "b0b66e35-c920-4e82-851d-636350624bb7",
+  "persistent": true,
+  "scenarioName": "scenario-9-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-9-search-issues-2",
+  "insertionIndex": 33
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json
new file mode 100644
index 0000000000..e81e57ed60
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json
@@ -0,0 +1,51 @@
+{
+  "id": "c0c7532c-a459-41ef-8c3a-7a23f7691b62",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+merged%3A2023-11-01..2023-11-11+closed%3A2023-11-01..2023-11-11+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-c0c7532c-a459-41ef-8c3a-7a23f7691b62.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:30 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "22",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "8",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB0:7A19:20E90DB1:214CFED3:654ECEAA"
+    }
+  },
+  "uuid": "c0c7532c-a459-41ef-8c3a-7a23f7691b62",
+  "persistent": true,
+  "scenarioName": "scenario-4-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-4-search-issues-2",
+  "insertionIndex": 22
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json
new file mode 100644
index 0000000000..2291b0281c
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json
@@ -0,0 +1,50 @@
+{
+  "id": "c7bcf215-979c-4b96-94f7-62b275676005",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3E2023-11-01+updated%3A%3E2023-11-01+merged%3A%3E%3D2023-11-01+closed%3A%3E%3D2023-11-01+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-c7bcf215-979c-4b96-94f7-62b275676005.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:32 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "17",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "13",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB6:6EFB:20B68850:2119D6C2:654ECEAC"
+    }
+  },
+  "uuid": "c7bcf215-979c-4b96-94f7-62b275676005",
+  "persistent": true,
+  "scenarioName": "scenario-6-search-issues",
+  "requiredScenarioState": "scenario-6-search-issues-2",
+  "insertionIndex": 27
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c873591d-123d-42c8-920f-901a7160730b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c873591d-123d-42c8-920f-901a7160730b.json
new file mode 100644
index 0000000000..acc20ec148
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-c873591d-123d-42c8-920f-901a7160730b.json
@@ -0,0 +1,51 @@
+{
+  "id": "c873591d-123d-42c8-920f-901a7160730b",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+base%3Amain+head%3AbranchToMerge+SHA%3Af06ea132e5c97d4237ac3ff717944791eb142ff1+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-c873591d-123d-42c8-920f-901a7160730b.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:33 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "14",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "16",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFBB:DBA9:20FC526D:215F56F8:654ECEAD"
+    }
+  },
+  "uuid": "c873591d-123d-42c8-920f-901a7160730b",
+  "persistent": true,
+  "scenarioName": "scenario-8-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-8-search-issues-2",
+  "insertionIndex": 31
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json
new file mode 100644
index 0000000000..5a6831ffda
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json
@@ -0,0 +1,51 @@
+{
+  "id": "d1ee25fc-71db-47d3-bdb2-ac28c08d9ded",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?sort=updated&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-01..2023-11-11+updated%3A2023-11-01..2023-11-11+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-d1ee25fc-71db-47d3-bdb2-ac28c08d9ded.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:29 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "24",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "6",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFAC:13101:20F2B229:21570308:654ECEA9"
+    }
+  },
+  "uuid": "d1ee25fc-71db-47d3-bdb2-ac28c08d9ded",
+  "persistent": true,
+  "scenarioName": "scenario-3-search-issues",
+  "requiredScenarioState": "scenario-3-search-issues-2",
+  "newScenarioState": "scenario-3-search-issues-3",
+  "insertionIndex": 20
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json
new file mode 100644
index 0000000000..a0808c110a
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json
@@ -0,0 +1,50 @@
+{
+  "id": "d253da43-33cd-46ea-b7cd-c60a19d57467",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?sort=updated&q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A2023-11-01..2023-11-11+updated%3A2023-11-01..2023-11-11+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-d253da43-33cd-46ea-b7cd-c60a19d57467.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:30 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "23",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "7",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFAF:F99F:207C39BA:20DFE74F:654ECEA9"
+    }
+  },
+  "uuid": "d253da43-33cd-46ea-b7cd-c60a19d57467",
+  "persistent": true,
+  "scenarioName": "scenario-3-search-issues",
+  "requiredScenarioState": "scenario-3-search-issues-3",
+  "insertionIndex": 21
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json
new file mode 100644
index 0000000000..0907962c94
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json
@@ -0,0 +1,51 @@
+{
+  "id": "d513ba09-ef04-46ff-ae17-98a38c57e749",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3E2023-11-01+updated%3A%3E2023-11-01+merged%3A%3E%3D2023-11-01+closed%3A%3E%3D2023-11-01+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-d513ba09-ef04-46ff-ae17-98a38c57e749.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:32 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "18",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "12",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB5:7A19:20E910C5:214D01E6:654ECEAB"
+    }
+  },
+  "uuid": "d513ba09-ef04-46ff-ae17-98a38c57e749",
+  "persistent": true,
+  "scenarioName": "scenario-6-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-6-search-issues-2",
+  "insertionIndex": 26
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json
new file mode 100644
index 0000000000..0ebecc4f77
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json
@@ -0,0 +1,51 @@
+{
+  "id": "edff7370-fa9f-4f2a-a5d2-be979186661b",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3C2023-11-12+updated%3A%3C2023-11-12+closed%3A%3C%3D2023-11-12+merged%3A%3C2023-11-12+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-edff7370-fa9f-4f2a-a5d2-be979186661b.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:32 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "16",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "14",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB7:1B81:244669C4:24AF721B:654ECEAC"
+    }
+  },
+  "uuid": "edff7370-fa9f-4f2a-a5d2-be979186661b",
+  "persistent": true,
+  "scenarioName": "scenario-7-search-issues",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-7-search-issues-2",
+  "insertionIndex": 28
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json
new file mode 100644
index 0000000000..335b2e35e5
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json
@@ -0,0 +1,50 @@
+{
+  "id": "f671a987-af55-41c8-9f5e-06037fb8f074",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+created%3A%3C2023-11-12+updated%3A%3C2023-11-12+closed%3A%3C%3D2023-11-12+merged%3A%3C2023-11-12+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-f671a987-af55-41c8-9f5e-06037fb8f074.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:33 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "15",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "15",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFB8:4CF1:20DB6E9D:213F174E:654ECEAC"
+    }
+  },
+  "uuid": "f671a987-af55-41c8-9f5e-06037fb8f074",
+  "persistent": true,
+  "scenarioName": "scenario-7-search-issues",
+  "requiredScenarioState": "scenario-7-search-issues-2",
+  "insertionIndex": 29
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json
new file mode 100644
index 0000000000..81fee008cc
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json
@@ -0,0 +1,50 @@
+{
+  "id": "f7571293-9b42-4e14-906c-960ad7fa0aab",
+  "name": "search_issues",
+  "request": {
+    "url": "/search/issues?q=repo%3Akgromov%2Ftemp-testSearchPullRequests+is%3Aclosed+is%3Amerged+is%3Apr",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "search_issues-f7571293-9b42-4e14-906c-960ad7fa0aab.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:28 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "no-cache",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "30",
+      "X-RateLimit-Remaining": "26",
+      "X-RateLimit-Reset": "1699663587",
+      "X-RateLimit-Used": "4",
+      "X-RateLimit-Resource": "search",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FFAA:85F2:1FCEDA9C:2031DFBE:654ECEA8"
+    }
+  },
+  "uuid": "f7571293-9b42-4e14-906c-960ad7fa0aab",
+  "persistent": true,
+  "scenarioName": "scenario-2-search-issues",
+  "requiredScenarioState": "scenario-2-search-issues-2",
+  "insertionIndex": 18
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json
new file mode 100644
index 0000000000..6ee7f85d68
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testSearchPullRequests/mappings/user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json
@@ -0,0 +1,50 @@
+{
+  "id": "da1cd23b-68fc-4f76-b63d-73aef15422b8",
+  "name": "user",
+  "request": {
+    "url": "/user",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "user-da1cd23b-68fc-4f76-b63d-73aef15422b8.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Sat, 11 Nov 2023 00:45:12 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"f52155a43726996e5587f9285121b682ad67e2f3f2ffbdc91940592d422bf516\"",
+      "Last-Modified": "Fri, 27 Oct 2023 15:36:08 GMT",
+      "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, gist, repo, workflow",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4763",
+      "X-RateLimit-Reset": "1699664715",
+      "X-RateLimit-Used": "237",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "FF8E:8C73:2078B975:20DD4FBA:654ECE98"
+    }
+  },
+  "uuid": "da1cd23b-68fc-4f76-b63d-73aef15422b8",
+  "persistent": true,
+  "insertionIndex": 1
+}
\ No newline at end of file