Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Access activity logs of users

Muffex
Contributor
July 3, 2024

Hello everyone,

I'm a researcher and working on the harmonisation of event logs from user activity in various collaboration tools. Back in 2021 I tried to get information on how to access user activity logs in the cloud version of confluence. However, I could not get a satisfactory answer. Somewhat similar questions were asked in 2018 [1] [2].

Against the background of the (extensive) documentation of the various tools, products and APIs from Atlassian, I have still not succeeded in finding a suitable event stream or API that provides user activities. I would still prefer direct database access, but in the age of cloud computing this can probably be ruled out.

 

What I found:

  • API for Atlassian Access
    •  api.atlassian.com/admin/v1/orgs/:orgId/events
      • This API is geared towards (security) auditing
  • The Jira Cloud platform REST API

    • {yourHost}/rest/api/3/events
      • The results do not contain any metadata
      • e.g.:
                              ```json
                                  {
                                      "id": 1,
                                      "name": "Issue Created"
                                  },
                                  {
                                      "id": 2,
                                      "name": "Issue Updated"
                                  },
                                  {
                                      "id": 3,
                                      "name": "Issue Assigned"
                                  },
                                  {
                                      "id": 4,
                                      "name": "Issue Resolved"
                                  }
                              ```

 

What I search/wish for:

My idea is a log that contains entries such as the following:

  • Issue created
  • Issue assigned
  • Issue commented
  • Issue attachment added
  • Issue updated
  • Issue liked
  • Wikipage created
  • Wikipage deleted
  • Wikipage moved
  • Wikipage read/opened
  • Wikipage commented
  • ...
  • --> There should be a low-level event for each performed action

 

Do such logs exist? And if so, how can they be accessed? Which licences are required?

I really appreciate your help. :)

Kind regards
Martin

2 answers

1 vote
Dick
Community Champion
July 3, 2024

The datacenter Jira has the  userhistoryitem table holding the kind of stuff that has happened (look at issue, make sprint, etc.)

It might not be available to cloud admins though.

Muffex
Contributor
July 3, 2024

That is interesting. Would it be possible to expose this table in the cloud version as an API via forge?

1 vote
Jim Knepley - ReleaseTEAM
Atlassian Partner
July 3, 2024

I don't think what you're looking for exists yet. There are similar feature requests going back almost ten years [1] [2].

Muffex
Contributor
July 3, 2024

That would be a real bummer. Especially as collaboration analytics is becoming increasingly relevant.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events