Pie chart should have a first column of type string

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

280 views 2 4
Join discussion

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