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

0 votes

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.

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.

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

 

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

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

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,096 views 4 9
Read article

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