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 vote

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 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 yesterday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

75 views 2 6
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