Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I create a report that shows how many people are assigned to each Component?

I'm looking for an answer on if I can generate more numbers based / analytical reports.  I've only been able to figure out how to basically display issues in different ways, based on filters.

What I want to do, for example is have a graph that shows how many people on my team are assigned tasks that are tagged with each Component value.

For example:

Component 1 - 3 people

Component 2 - 6 people

Component 3 - 1 people

 

I'm open to displaying this in different ways, but some kind of graph would be nice.

 

2 answers

Hi Brian,

If you also use reporting in Confluence Server, you can work with the Jira Issues macro in combination with the Table Filter and Charts app.

Using the Table Transformer macro, you can count the number of people per project:

2019-04-16_23h11_58.png

Use the following SQL query:

SELECT 'Component', COUNT (DISTINCT 'Assignee') AS 'Number of People' FROM T* GROUP BY 'Component'

2019-04-16_23h12_20.png

2019-04-16_23h12_39.png

That looks neat.  Thanks!  I guess there would also be a way to make a chart out of that data as well?  Also, is there a way to display the data in a JIRA dashboard, or would it only work in Confluence? 

Yes, sure you can make charts out of that data and actually use the Jira Issues macro to create almost any reports and charts in Confluence.

To display Confluence pages in Jira you can use Confluence Page Gadget (here you can find information about its adding).

2019-04-17_11h52_38.png

0 votes
Antoine Berry Community Leader Apr 16, 2019

Hi,

I do not know about plug-ins that would do this, but since you are using jira-server, maybe you could consider a SQL request ?

Antoine

I do have some experience with SQL, so yeah that would be great!  I don't have any experience with running an SQL query in JIRA though, so anything you can do to point me in the right direction there would be awesome.  Thanks.

Antoine Berry Community Leader Apr 17, 2019

Hi @Brian Barnes ,

If you are using MySQL you could use something like : 

SELECT 
component.cname as 'Component name',
COUNT(DISTINCT cwd_user.ID) 'Number of people'
FROM jiraissue
JOIN project ON project.ID = jiraissue.PROJECT
JOIN nodeassociation ON jiraissue.id = nodeassociation.source_node_id
JOIN component ON nodeassociation.sink_node_id = component.id
JOIN cwd_user ON jiraissue.ASSIGNEE = cwd_user.user_name
WHERE project.pkey = 'Your project key'
GROUP BY (component.ID)

If you want to go further you can use a reporting tool such as SSRS.

Antoine

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

410 views 19 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you