It's been a while since I've used confluence but I'm looking to implement it at my new job. I remember there beings an activity feed section which showed all the contributions from every user. I believe it was at this URL:
https://{{company}}.atlassian.net/wiki/discover/all-updates
Here's a screenshot of this page I found from another company from 2 years ago.
I'm struggling to find an equivalent in the latest updated version of Confluence Cloud. It seems its been fragmented into seeing my own recent activity and following others activity.
Here's what I'm trying to accomplish. I want to get raw data of all the contributions from every single user within the Space. I want to use that data to showcase which users are contributing the most to our internal documentation as a way to encourage engagement. I used to get it from this old activity page.
Is there another way to get access to it? I looked through the API but didn't see something for overall activity.
Thank you!
Hi @roovy
This isn't something I've seen native to the new home, but home didn't really exist on the old UI either.
Home is designed to be bespoke for each user - so that's why the Discover what's happening area can be customised to be popular pages, or Spaces/Users a user is following - relevant to them.
You could though...
This is the alternative I've found to meet the above need :)
Ste
Thank you, this was very helpful!
Do you know if its possible to retrieve this recently updated section via api?
Ultimately, I'm trying to see all the modifications/contributions that our team mates are adding. This gives it to me on a front end, but I need the actual raw data to be able to say that this specific user did X number of contributions over X time frame.
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @roovy
I'm not sure, it's not something I've tried before - but check out these links...
...which might help find a way to do this!
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen,
I just wanted to say that someone in the developer community helped me figure out a workaround to get the data I needed.
Essentially, I'm able to search through all recently edited pages and then pull the time and user ID of who edited them last.
Here's the python code I used to make this work
import requests, json
from requests.auth import HTTPBasicAuth
def get_conf_update():
'''
'''
host = "https://{{company_url}}.atlassian.net"
username = "{{username}}"
api_key = "{{api_key}}"
#I only cared for page and attachment updates, you can add comments too
url = f"{host}/wiki/rest/api/content/search?cql=type%20in%20(page,attachment)%20order%20by%20lastmodified%20desc&limit=25"
auth = HTTPBasicAuth(username, api_key)
headers = {"Accept": "application/json"}
#These params are key as it gives very detailed info
#About the last time it was updated and who updated it
params = {'expand':'history.lastUpdated'}
response = requests.request("GET",url,headers=headers,auth=auth, params=params)
data = response.json()
return data
if __name__ == '__main__':
response = get_conf_update()
data = json.dumps(response, indent=4, sort_keys=True)
with open('updates.json', 'w') as f:
f.write(data)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for taking the time to tell us how you did this, roovy!
This alternate option might be of use to other users who locate this question in future!
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.