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

plugin-info markup generates incorrect Open Issues link

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I followed guide:

      https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-AddingaWikipage

      and used:

      {jenkins-plugin-info:pluginId=jenkins-jira-issue-updater|jiraComponent=jenkins-jira-issue-updater|sourceDir=jira-issue-updater-plugin}
      

      for plugin info generation, and the problem is that the "-plugin" suffix gets appended to the jira (Open Issues) link. So this way the link always results in an empty list of issues (because of incorrect component name).

      I also tried using:

      |jiraComponent=jenkins-jira-issue-updater1 
      

      and the results was

      jenkins-jira-issue-updater1-plugin
      

      I am not sure what the problem is:

      a) the markup generation
      b) the name of the component in Jira (not sure if there is a convention to always suffix it with "-plugin"). I think this was generated automatically.

      I think easiest way to fix this would be to change the Jira component id. Still I was not able to find the appropriate project/component. Can you please assign this to the right project/person in case you cannot handle it?

      Thanks,
      Laszlo Miklosik

        Attachments

          Activity

          Hide
          evernat evernat added a comment -

          Yes there is a convention for component names in Jira since the project meeting of Nov 12th 2014.
          So I have created issue INFRA-299 in the infrastructure projet in order that the jira component is renamed to jenkins-jira-issue-updater-plugin.
          When the INFRA-299 is done and if the new name is exactly jenkins-jira-issue-updater-plugin, the Open issues link in the wiki page will work.

          Show
          evernat evernat added a comment - Yes there is a convention for component names in Jira since the project meeting of Nov 12th 2014. So I have created issue INFRA-299 in the infrastructure projet in order that the jira component is renamed to jenkins-jira-issue-updater-plugin. When the INFRA-299 is done and if the new name is exactly jenkins-jira-issue-updater-plugin, the Open issues link in the wiki page will work.
          Hide
          laszlomiklosik Laszlo Miklosik added a comment -

          Thanks!

          Show
          laszlomiklosik Laszlo Miklosik added a comment - Thanks!
          Hide
          orrc Christopher Orr added a comment -

          INFRA-299 has been fixed, therefore this has been fixed

          Show
          orrc Christopher Orr added a comment - INFRA-299 has been fixed, therefore this has been fixed

            People

            Assignee:
            evernat evernat
            Reporter:
            laszlomiklosik Laszlo Miklosik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: