Get the author of the latest issue update

John Smith November 20, 2024

Hi,

After issue changing I need to get data about the user who did it.

I use rest/api/2/search?expand=changelog

I'm getting a changelog, but it's not limited in any way, which could lead to something bad.

So, do you know how to limit the changelog (maxResults) or get the author of the latest issue update?

Thanks in advance.

1 answer

0 votes
Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2024

Hi @John Smith 

Can you try using this API

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-changelog-get

You can limit the MaxResults to a lesser number and filter the results per ticket.

John Smith November 20, 2024

Thanks a lot for the quick response.

But it didn't work for me(

As far as I understand, this only works in Jira Cloud

Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 21, 2024

Ahh my bad, I'll share another API if I find it.

Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 21, 2024

Hi @John Smith 

Can you try this Api

https://developer.atlassian.com/server/jira-servicedesk/rest/v1002/api-group-issue/#api-api-2-issue-issueidorkey-get

The expand parameter allows Changelog, which can then use the MaxResult query as well from what I see in the documentation

John Smith November 21, 2024

I tried this before, but unfortunately maxResults has no effect on the changelog limit :(

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events