Getting activity stream in json format

m May 26, 2015

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

0 votes
ashish goel June 26, 2016

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

 

0 votes
m June 26, 2016

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

0 votes
ashish goel June 17, 2016

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

 

0 votes
William Kemper May 27, 2015

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?

William Kemper May 27, 2015

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.

0 votes
cgauterio
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2015

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.

Suggest an answer

Log in or Sign up to answer