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 Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

450 views 0 9
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