When will Jira Server support REST API v3?

Benjamin W_ February 17, 2020

Currently Jira Server supports REST API v2. Jira Cloud already supports v3.

Is there any plan when Jira Server will run with REST API v3?

Thanks

2 answers

1 vote
Pravin August 18, 2021

hi @JimmyVanAU 

we need to mention user in comment through API but seems it is not possible through  V2 

 

Is there any way we can do using V2  in Jira server . I am using below API but it is not working 

 

curl -D- -u admin:adminxyz-X POST --data '{"body": {"type": "mention","attrs": { "id": "xyz","text": "hi @XYZ "}}}' -H "Content-type: application/json" https://myjira-prod.com/rest/api/2/issue/Test-123/comment

 

Thanks ,

Pravin 

JimmyVanAU
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2021

Hi @Pravin ,

Try the following payload:

{
"body": "hi [~XYZ]"
}

full command

curl -D- -u admin:adminxyz -X POST --data '{"body": "hi [~XYZ] "}' -H "Content-type: application/json" https://myjira-prod.com/rest/api/2/issue/Test-123/comment

For future reference, it is recommended that you post a new question. You can paste a link to the existing question for more context.

 

Cheers, Jimmy

Like Pravin likes this
Pravin August 19, 2021

Hi @JimmyVanAU ,

Thank you it is working now !

0 votes
JimmyVanAU
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2020

Hi Ben,

Is there anything in particular you're looking for in the REST API v3 that exists in Cloud, but doesn't in Server?

Development occurs independently, so Atlassian don't typically attempt to align things such as REST API versions for different products

Cheers :)

Benjamin W_ February 18, 2020

Cheers Jimmy

one of our developer was requesting this as REST API v3 comes with the Atlassian Document Format, which gives better functionality especially with formatting content. (width of tables, colspan, making use of ADF-containers,..)

Our use case actually is quite simple: Our SAP system makes use of the REST API in order to write content from SAP to existing Jira tickets. By doing this, we handle our SAP development progress ("which new SAP development requirement is in SAP development environment, in SAP quality staging, SAP production")

(while reading the initial request from dev, I actually should have pointed out more precisely that ADF is the core request...)

Regards, Benjamin

JimmyVanAU
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2020

Hi Benjamin,

That's fair. Probably best a question for the Atlassian product team (perhaps raise a support request), but I gather they'll say that development occurs independently and it might be on the roadmap.

I can't find anything on JAC - https://jira.atlassian.com/issues/?jql=project%20%3D%20JSWCLOUD%20AND%20text%20~%20%22rest%20api%22 that indicates when they developed it and what the related JSWSERV issue might be.

Benjamin W_ February 20, 2020

Thanks, Jimmy!
I have opened a support request GHS-179462. Keep you posted in it's outcome.

Like JimmyVanAU likes this
Benjamin W_ February 23, 2020

So, directly got response. Need for a Feature Request, nothing on the Roadmap so far. https://jira.atlassian.com/browse/JRASERVER-70688

....but: does not seem to be on the scope to realize it.
Currently, ADF is not used anywhere in Jira Server, and it seems unlikely that Jira Server will adopt ADF within the near future.

Like JimmyVanAU likes this

Suggest an answer

Log in or Sign up to answer