Conflicting data between zh and gh

Hello!

I am running into an issue with graphql API where I am getting two different results for the same field in GH and ZH.

In GH I have issue # 10001 with a createdAt = "2019-03-18T20:02:14Z “ This is correct and verified by logging into GH and confirming the createdAt date

In ZH the same issue #10001 with a createdAt = "2019-06-21T15:19:55Z” which is incorrect;

Initially I thought I was referencing the wrong endpoint, but it turns out that this conflict occurs on about 17% of the time and on older issues. All the other times the information is correct even on older issues. Has anyone encountered this before?

Hi @keng , sorry for the confusion– we actually have two “created at” fields on the Issue type:

  • createdAt – tracks when the issue was created in Zenhub’s database
  • ghCreatedAt – tracks when the issue was created in GitHub

You should be able to just replace the field and get the data you expect

Success! Thank You!

image