Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Rest API XML Format

Hi,

 

Is it possible to have the JIRA REST API return XML instead of JSON ? 

1 comment

I can't find anything related to XML in the Jira cloud rest api documentation.
However if you want to get XML from an issue:

https://your-jira-instance.atlassian.net/si/jira.issueviews:issue-xml/ABC-1/ABC-1.xml

Tried with any kind of issuetypes and it works.
A big benefit is that it saves you alot of headache when doing multiple rest API calls for fields (array or object) with string values in ACE, because the display values are presented in XML.
This just with a single request. 
Please inform me if I am wrong. 

So far, I didn't come across documentation about it, but it an existing feature in the issue menu:

Screenshot from 2020-11-27 10-36-36.png

Even better, you can (according to the comment lines in output) even restrict the results like so:

https://your-jira-instance.atlassian.net/si/jira.issueviews:issue-xml/ABC-1/ABC-1.xml?field=key&field=summary&field=description&field=reporter

Comment

Log in or Sign up to comment
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you