Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Server / Data Center REST API for getting workflow transition rules config?

Theo Gravity May 6, 2019

I want to check for the presence of a post-function item when doing Jira migrations between environments, and saw that in the Jira Cloud API there is an API for this:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-workflow-rule-config-get

However, I do not see this in the Server API:

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

Is there an equiv API for Jira Server? If not, when will Jira Server have support for the v3 REST API that Jira Cloud uses?

 

2 answers

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 28, 2019

Hello Theo,

Thank you for providing examples of the endpoints you found within cloud and what you’re needing within server. While the two REST APIs are different there is some loose translation between the two. With this said, if you’re wanting to review or record any workflow rule in place then I would suggest the following endpoints for the server products:

If this isn’t fully applicable to what you’re wanting to get from Jira Server over the REST API, then please do let us know (possibly with a screenshot) what you’re needing from the system.

Regards,
Stephen Sifers

Sandeep
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2021

Hey Stephen,

I wanted to know if Jira rest API's are different or same for data centers as they are for Jira server and cloud?

I am little confused and It would be very helpful if you can throw some light on it.

Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2021

Hello @Sandeep

Server and DC APIs are one and the same. However, depending on how you configure your DC instance there may be connection limitations. More on this may be found at Configuring a Jira cluster.

For quick reference, here is the reference material for the Jira APIs:

Along with API differences, there are functional differences between Cloud and Server/DC. More on this may be found at Compare cloud and server.

I hope this additional information proves helpful.

Regards,
Stephen Sifers

Like # people like this
0 votes
Gonchik Tsymzhitov
Community Champion
May 27, 2019

I would say you can use that link to review it

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

 

Also, I will be happy if you provide a PR request into that library https://github.com/atlassian-api/atlassian-python-api

Theo Gravity May 27, 2019

You didn't even read my question since you posted with a generic link to the API, where in my question, I have the REST API in question posted.

Your response is more of an advertisement for your library.

Gonchik Tsymzhitov
Community Champion
May 27, 2019

I would say incorrectly to use the latest one, if you migrate data. 

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

1. Sometimes API has changes which can be a problem, therefore when I am migrating instances I use the exact version of api release. 

2. I'd like to say REST api browser will provide more info

3. Rule configs will be provide by export and also, you can do normal request to fetch it. Also, I use the own rest endpoint to use that.

Suggest an answer

Log in or Sign up to answer