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

          howama created issue -
          Radek Antoniuk made changes -
          Link New: This issue is related to JENKINS-12605 [ JENKINS-12605 ]
          Jan Zajíc made changes -
          Assignee New: Jan Zajíc [ zajic ]

          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 made changes -
          Remote Link New: This issue links to "Support remote link (Web Link)" [ 13707 ]

          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.
          Jan Zajíc made changes -
          Assignee Original: Jan Zajíc [ zajic ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145367 ] New: JNJira + In-Review [ 176328 ]
          Dmitry Platonoff made changes -
          Attachment New: image-2021-04-01-00-12-37-611.png [ 54397 ]

          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.

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

              Created:
              Updated: