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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

281 views 11 10
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