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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Jimmy!
I have opened a support request GHS-179462. Keep you posted in it's outcome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.