Hi,

       

      We want to have an option to generate release notes in Confluence for a set of Jira Keys. Our Jira instance is set up with multiple projects, (defects, improvements, etc. Don't ask why) and all of these projects have issues which affects our source code. Therefore we need a feature to search for Jira issues in multiple project when we are generating the release notes. 

      I searched through the code, and found that the search for releases is the following ([JIRAAccessTool.Java|https://github.com/jenkinsci/release-helper-plugin/blob/master/rocks.inspectit.releaseplugin/src/main/java/rocks/inspectit/releaseplugin/JIRAAccessTool.java]):

      SearchResult result = restClient.getSearchClient().searchJql("(" + jqlQuery + ") AND project = \"" + projectKey + "\"").claim();
      
      

      I can see the use case where one would want to restrict the search to one specific Jira project, but we would like to have this optional. 

      If this is something that is wanted by the community I can create a pull request for this.

       

      https://github.com/jenkinsci/release-helper-plugin

          [JENKINS-59027] Support JQL Search without JIRA project Key

          Jesper Nylend created issue -
          Jesper Nylend made changes -
          Description Original: Hi,

           

          We want to have an option to generate release notes in Confluence for a set of Jira Keys. Our Jira instance is set up with multiple projects, (defects, improvements, etc. Don't ask why) and all of these projects have issues which affects our source code. Therefore we need a feature to search for Jira issues in multiple project when we are generating the release notes. 

          I searched through the code, and found that the search for releases is the following ([JIRAAccessTool.Java | [https://github.com/jenkinsci/release-helper-plugin/blob/master/rocks.inspectit.releaseplugin/src/main/java/rocks/inspectit/releaseplugin/JIRAAccessTool.java]]):
          {code:java}
          SearchResult result = restClient.getSearchClient().searchJql("(" + jqlQuery + ") AND project = \"" + projectKey + "\"").claim();

          {code}
          I can see the use case where one would want to restrict the search to one specific Jira project, but we would like to have this optional. 

          If this is something that is wanted by the community I can create a pull request for this.

           

          [https://github.com/jenkinsci/release-helper-plugin]
          New: Hi,

           

          We want to have an option to generate release notes in Confluence for a set of Jira Keys. Our Jira instance is set up with multiple projects, (defects, improvements, etc. Don't ask why) and all of these projects have issues which affects our source code. Therefore we need a feature to search for Jira issues in multiple project when we are generating the release notes. 

          I searched through the code, and found that the search for releases is the following ([JIRAAccessTool.Java|[https://github.com/jenkinsci/release-helper-plugin/blob/master/rocks.inspectit.releaseplugin/src/main/java/rocks/inspectit/releaseplugin/JIRAAccessTool.java]]):
          {code:java}
          SearchResult result = restClient.getSearchClient().searchJql("(" + jqlQuery + ") AND project = \"" + projectKey + "\"").claim();

          {code}
          I can see the use case where one would want to restrict the search to one specific Jira project, but we would like to have this optional. 

          If this is something that is wanted by the community I can create a pull request for this.

           

          [https://github.com/jenkinsci/release-helper-plugin]
          Jesper Nylend made changes -
          Summary Original: Support Jira credentials and JQL search without JIRA Project New: Support JQL Search without JIRA project Key
          Jesper Nylend made changes -
          Labels New: plugin
          Jesper Nylend made changes -
          Link New: This issue duplicates JENKINS-37808 [ JENKINS-37808 ]
          Jesper Nylend made changes -
          Priority Original: Minor [ 4 ] New: Trivial [ 5 ]
          Jesper Nylend made changes -
          Assignee Original: NovaTec Consulting [ novatec ]

            Unassigned Unassigned
            jny Jesper Nylend
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: