How to find out if a user is default assignee for components via query

Manju Nambiar March 15, 2013

One of the JIRA users has left the company and transition was not smooth. As a result, there are still components (across multiple projects) which have the user either as default assignee or component lead. I want to determine which are these components so that I can reassign. Is this possible via JQL?

1 answer

1 accepted

0 votes
Answer accepted
Boris Berenberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2013

Hello Manju,

This is not possible using JQL. JQL can only return issues, not components in it's result set. Here is a postgresql query which should help you get what you need:

select pname, cname, component.lead from component
join project on (component.project = project.id)
where lead = 'username';

Cheers,
Boris

Suggest an answer

Log in or Sign up to answer