Hi,
does the zenhub rest or graphql api have a means to get the event/time when an issue was assigned to a sprint and if it was removed from a sprint? I am doing some analysis on team’s issues worked on and when we decided an issue had to be removed from a sprint.
Found it. I can get “__typename”: “TimelineItem”,
“type”: “issue.remove_from_sprint”,
from this zenhub graphql query
query getTimelineItems($repositoryGhId: Int!, $issueNumber: Int!) {
issueByInfo(repositoryGhId: $repositoryGhId, issueNumber: $issueNumber) {
state
title
createdAt
closedAt
estimate {
value
}
number
repository {
ghId
}
timelineItems(first: 50) {
nodes {
__typename
type: key
id
data
createdAt
}
}
}
}