Measuring Story Movement

Matthew Zach October 1, 2012

Does anyone have a query that runs against the Jira database that would count the number of hops a story took (back and forth) between columns in Greenhopper? I'd like to measure average story movement left-to-right and right-to-left.

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Matthew Zach October 16, 2012

This got me what I needed:

select ji.pkey as "Story", count(*) as "# of hops"

from changeitem ci join changegroup cg on ci.groupid=cg.id

join jiraissue ji on ji.id=cg.issueid

where ci.field='status'

and ji.project = XXXXX

group by ji.pkey;

Suggest an answer

Log in or Sign up to answer