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

Use JIRA Remote application links instead of comments

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • jira-plugin
    • None

      Many people have requested that this plugin doesn't spam the jira comments section (e.g. JENKINS-12605). JIRA plugins such as marvalution may work for in-house jira instances, but not hosted or on-demand instances.

      Instead of using comments, could the new jira remote issue links be created instead. These will be shown separately from the comments and could link directly to the jenkins builds.
      https://developer.atlassian.com/display/JIRADEV/Fields+in+Remote+Issue+Links

          [JENKINS-14671] Use JIRA Remote application links instead of comments

          Jan Zajíc added a comment -

          Jan Zajíc added a comment - rest api for links is described here https://developer.atlassian.com/jiradev/jira-platform/guides/other/guide-jira-remote-issue-links/jira-rest-api-for-remote-issue-links

          Jan Zajíc added a comment - - edited

          This issue is blocked by issue JRJC-171 in Jira rest java Client library that we used to communicate with Jira.

          Jan Zajíc added a comment - - edited This issue is blocked by issue JRJC-171 in Jira rest java Client library that we used to communicate with Jira.

          Considering how old the original Atlassian ticket is, it's unlikely it will get resolved anytime soon.

          In the meanwhile, the new Jira 8 skin comes with new image defaults that blow up Jenkins status icons into giant blobs. The comment section is a sad sight.

          If there was ever a time to support web links, it's now. We've recently introduced similar support in Gerrit, had to implement the missing REST API bit within the Jira plugin. Shouldn't be hard to replicate in Jenkins, will take a look.

          Dmitry Platonoff added a comment - Considering how old the original Atlassian ticket is, it's unlikely it will get resolved anytime soon. In the meanwhile, the new Jira 8 skin comes with new image defaults that blow up Jenkins status icons into giant blobs. The comment section is a sad sight. If there was ever a time to support web links, it's now. We've recently introduced similar support in Gerrit, had to implement the missing REST API bit within the Jira plugin. Shouldn't be hard to replicate in Jenkins, will take a look.

          Dmitry Platonoff added a comment - First draft: https://github.com/dplatonoff/jenkins_plugins_jira-plugin/commit/b9e208bb0bd0576d4dabe4200334fd50fb3f50f5 Will go read CONTRIBUTING.md now...

            dplatonoff Dmitry Platonoff
            howama howama
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: