Getting activity stream in json format

Hi,

I'm trying to get the activity stream from JIRA in json format and I don't know why I not able to do it. It always come in XML. By the way, I'm using JIRA Cloud.

I'm doing this : curl -u user:password -H "Content-Type:application/vnd.atl.streams.thirdparty+json" https://xxx.atlassian.net/activity

 

Can someone help me ?

 

Thanks,

João Cerdeira

5 answers

This widget could not be displayed.

Hi João,

Checking the latest version of our API documentation I cannot see any methods to retrieve JIRA's activity stream through API, so I believe you will only be able to retrieve this data via XML using https://xxx.atlassian.net/activity.

Cheers,

Clarissa.

This widget could not be displayed.

I'd like to get the streams in json too. There is a document that describes how to post new streams using a REST API (which itself is not described in the Rest API documentation). But I've had no success POST'ing or GET'ing activities using that REST API. Is there some additional configuration or administrative work required to enable that API?

For what it's worth, I was able to POST to the thirdparty activity stream (just had to drop the 'jira' from the path used in the examples) - but it seems that the thirdparty service can only 'GET' what's been 'POST'd to it.

This widget could not be displayed.

did you find a solution to get activity stream in JSON format instead of XML?

 

This widget could not be displayed.

No, I had to go other way with my requirement!

This widget could not be displayed.

please tell the alternate approach / better approach or solution, which you used. Thankyou

 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

49 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you