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

Provide different JiraIssueUpdater for cloud and server

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • jira-plugin
    • None

      According to Ben_Kelley from ATLASSIAN TEAM the currently used library

      jira-rest-java-client is for server-edition of Jira only,

      see https://community.atlassian.com/t5/Jira-questions/JIRA-REST-API-missing-parameters/qaq-p/1302944

      Ben_Kelley ATLASSIAN TEAM Tuesday
      Please note the section under "Compatibility with Jira" for JRJC on https://ecosystem.atlassian.net/wiki/spaces/JRJC/overview

      The Jira REST Java Client works with Jira Server, but not with Jira Cloud.

       

      When communicating with the cloud edition a self-generated (java) client should be used:

      https://community.atlassian.com/t5/Jira-articles/Generating-a-REST-client-for-Jira-Cloud/ba-p/1307133

       

      As the jenkins jira-plugin should work with cloud edition and onpremise server edition of Jira I guess there should be
      a "generic api" 
      above of the https://bitbucket.org/atlassian/jira-rest-java-client 
      and the self-generated

      encapsulating the core-jira-functions necessary for jira-plugin

      to be sure all functions provided by jira-plugin work on both.

       

      Current APIs:

      Server Platform:

      https://docs.atlassian.com/software/jira/docs/api/REST/8.7.1/

      Cloud Platform: (v3 is already available as beta)

      https://developer.atlassian.com/cloud/jira/platform/rest/v2/

       

          [JENKINS-61175] Provide different JiraIssueUpdater for cloud and server

          Stefan Cordes created issue -
          Stefan Cordes made changes -
          Link New: This issue relates to JENKINS-57500 [ JENKINS-57500 ]
          Stefan Cordes made changes -
          Link New: This issue relates to JENKINS-53794 [ JENKINS-53794 ]
          Stefan Cordes made changes -
          Description Original: According to Ben_Kelley from ATLASSIAN TEAM the currently used library

          jira-rest-java-client is for server-edition of Jira only,

          see [https://community.atlassian.com/t5/Jira-questions/JIRA-REST-API-missing-parameters/qaq-p/1302944]
          {quote}
          Ben_Kelley ATLASSIAN TEAM Tuesday
          Please note the section under "Compatibility with Jira" for JRJC on https://ecosystem.atlassian.net/wiki/spaces/JRJC/overview

          The Jira REST Java Client works with Jira Server, but not with Jira Cloud.
          {quote}
           

          When communicating with the cloud edition a self-generated (java) client should be used:

          [https://community.atlassian.com/t5/Jira-articles/Generating-a-REST-client-for-Jira-Cloud/ba-p/1307133]

           

          As the jenkins jira-plugin should work with cloud edition +and+ onpremise server edition of Jira I guess there should be
          a "generic api" 
          above of the [https://bitbucket.org/atlassian/jira-rest-java-client
          and the self-generated

          encapsulating the core-jira-functions necessary for jira-plugin

          to be sure all functions provided by jira-plugin work on both.

           

           
          New: According to Ben_Kelley from ATLASSIAN TEAM the currently used library

          jira-rest-java-client is for server-edition of Jira only,

          see [https://community.atlassian.com/t5/Jira-questions/JIRA-REST-API-missing-parameters/qaq-p/1302944]
          {quote}Ben_Kelley ATLASSIAN TEAM Tuesday
           Please note the section under "Compatibility with Jira" for JRJC on [https://ecosystem.atlassian.net/wiki/spaces/JRJC/overview]

          The Jira REST Java Client works with Jira Server, but not with Jira Cloud.
          {quote}
           

          When communicating with the cloud edition a self-generated (java) client should be used:

          [https://community.atlassian.com/t5/Jira-articles/Generating-a-REST-client-for-Jira-Cloud/ba-p/1307133]

           

          As the jenkins jira-plugin should work with cloud edition +and+ onpremise server edition of Jira I guess there should be
           a "generic api" 
           above of the [https://bitbucket.org/atlassian/jira-rest-java-client
           and the self-generated

          encapsulating the core-jira-functions necessary for jira-plugin

          to be sure all functions provided by jira-plugin work on both.

           

          Current APIs:

          Server Platform:

          https://docs.atlassian.com/software/jira/docs/api/REST/8.7.1/

          Cloud Platform: (v3 is already available as beta)

          https://developer.atlassian.com/cloud/jira/platform/rest/v2/

           
          Radek Antoniuk made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            sc_rsc Stefan Cordes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: