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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

708 views 6 13
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