Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pie chart should have a first column of type string

artafon June 17, 2016

Hi!

Could you help me please. I'll try to get pie chart report from:
select count(ji.issuenum) as "Qty", os.caller as "User" from jiraissue ji
join os_historystep os on ji.workflow_id = os.entry_id
where ji.project='13000' and os.finish_date > CAST(:From AS date) and os.finish_date < CAST(:To AS date) and os.action_id=5
and os.caller in (select cwdm.lower_child_name from cwd_membership cwdm where parent_id='17511')
group by os.caller
and get error:  Pie chart should have a first column of type string

1 answer

0 votes
artafon June 17, 2016

Thx, I resolved, fix query:

select os.caller as "User" ,count(ji.issuenum) as "Qty" from jiraissue ji
join os_historystep os on ji.workflow_id = os.entry_id
where ji.project='13000' and os.finish_date > CAST(:From AS date) and os.finish_date < CAST(:To AS date) and os.action_id=5
and os.caller in (select cwdm.lower_child_name from cwd_membership cwdm where parent_id='17511')

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events