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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,804
Community Members
 
Community Events
185
Community Groups

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

Thanks for posting. Since the post, have you found any documentation at all on the Jira XML API?

Comment

Log in or Sign up to comment