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

3 views
Skip to first unread message

rsc@adr.de (JIRA)

unread,
Feb 21, 2020, 4:50:02 AM2/21/20
to jenkinsc...@googlegroups.com
Stefan Cordes created an issue
 
Jenkins / New Feature JENKINS-61175
Provide different JiraIssueUpdater for cloud and server
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: jira-plugin
Created: 2020-02-21 09:49
Priority: Minor Minor
Reporter: Stefan Cordes

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.

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

rsc@adr.de (JIRA)

unread,
Feb 21, 2020, 5:07:02 AM2/21/20
to jenkinsc...@googlegroups.com
Stefan Cordes updated an issue
Change By: Stefan Cordes
According to Ben_Kelley from ATLASSIAN TEAM the currently used library

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

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/

 
Reply all
Reply to author
Forward
0 new messages