The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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

TAGS
AUG Leaders

Atlassian Community Events