Export full assignee history for issue via REST api

Trying to export the assignee history of issues through REST api. Example:

(using google chrome console)

$.get( "https://mycompany.atlassian.net/rest/api/2/issue/PRJ-1234?expand=changelog&fields=summary")

 

Parsing the returned object contains an incomplete list of history entries with gaps in assignee chains as compared with issue history being reported through the web UI.  

1 answer

0 votes

Hmm.  Is there a pattern to it?  For example, gaps in the chain are for users who have been disabled or deleted?

Hi Nic,

Thanks for the reply. Unfortunately not, at least not as far as we have noticed. The gaps we see are usually for entire day's worth of activities, not specific to the assignee field. Because of our workflow, our issues tend to have a large number of audit trail entries. Wondering if we're hitting paging issues combined with out of order results? We've tried including params for 'startAt=' and 'maxResults=', but these do not close the gaps.

Thanks again,

Justin

Ok.  I suspect your instincts are right, but I don't have anything with large numbers of changes on it it to play with at the moment.

I'd also want to have a look at the logs, as I suspect a bug - I would therefore raise a support issue with Atlassian over at https://support.atlassian.com

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

560 views 2 15
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot