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

jiraJqlSearch does not return any issue but they are there issues when serching in the UI

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Minor
    • Resolution: Not A Defect
    • jira-steps-plugin
    • None
    • JIRA Pipeline Steps 1.6.0

    Description

      I run the following jiraJqlSearch which does not return any issues

       

      JIRA: Site - devjira - Search JQL: PROJECT=VUL AND 'Infected Library' ~ 'org.springframework:spring-web:5.2.6.RELEASE' AND 'Impacted Artifact' ~ 'xxxxx:customer-payment-monitoring-data-service:0.0.8-SNAPSHOT' AND CVE = 'CVE-2016-1000027' startAt: 0 maxResults: 1000
      Successful. Code: 200
      [Pipeline] echo
      [DEBUG] ### the following was found:
      [Pipeline] echo
      ResponseData(successful=true, code=200, message=, error=null, data={startAt=0, maxResults=1000, total=0, issues=[]})
      

       

      However, when I copy the query to the Jira UI (Search Issues) I get 3 issues returned:

      Attachments

        Activity

          papanito papanito created issue -
          papanito papanito made changes -
          Field Original Value New Value
          Environment JIRA Pipeline Steps 1.6.0
          papanito papanito made changes -
          Summary jiraJqlSearch does not return any issue but they are there jiraJqlSearch does not return any issue but they are there issues when serching in the UI
          papanito papanito added a comment -

          It turned out that the index of Jira was corrupt so after running a re-index the search works fine.

          papanito papanito added a comment - It turned out that the index of Jira was corrupt so after running a re-index the search works fine.
          papanito papanito made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]

          People

            nrayapati Naresh Rayapati
            papanito papanito
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: