java.lang.RuntimeException: net.rcarz.jiraclient.JiraException: Failed to search issues

GitHub | mschuerer | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to search for issues with a given custom field value

    GitHub | 8 months ago | mschuerer
    java.lang.RuntimeException: net.rcarz.jiraclient.JiraException: Failed to search issues

    Root Cause Analysis

    1. net.rcarz.jiraclient.RestException

      400 Bad Request: {"errorMessages":["Field 'customfield_10000' does not exist or you do not have permission to view it."],"errors":{}}

      at net.rcarz.jiraclient.RestClient.request()
    2. jira-client
      JiraClient.searchIssues
      1. net.rcarz.jiraclient.RestClient.request(RestClient.java:163)
      2. net.rcarz.jiraclient.RestClient.get(RestClient.java:273)
      3. net.rcarz.jiraclient.Issue$IssueIterator.getNextIssues(Issue.java:639)
      4. net.rcarz.jiraclient.Issue$IssueIterator.getNextIssue(Issue.java:598)
      5. net.rcarz.jiraclient.Issue$IssueIterator.hasNext(Issue.java:564)
      6. net.rcarz.jiraclient.Issue$SearchResult.<init>(Issue.java:692)
      7. net.rcarz.jiraclient.Issue.search(Issue.java:1322)
      8. net.rcarz.jiraclient.JiraClient.searchIssues(JiraClient.java:367)
      9. net.rcarz.jiraclient.JiraClient.searchIssues(JiraClient.java:196)
      9 frames
    3. jiraapipoc
      JiraApiPoc.main
      1. jiraapipoc.JiraApiPoc.runTest(JiraApiPoc.java:248)
      2. jiraapipoc.JiraApiPoc.main(JiraApiPoc.java:264)
      2 frames