Create a JQL Query for Component owner

We have a somewhat unique project with hundreds of Components. What one of my agents would like is the ability to create a filter that just searches for her issues by the "Component Owner". The idea is that once it's updated in components (with the proper owner) her filter would dynamically update without her having to adjust the filter to add her new components (as shes the owner of a few new ones every week). I'm fairly certain there isn't a solution to this, but also enjoy very much proving her wrong, so can someone please confirm this?

1 answer

1 accepted

2 votes
Accepted answer

There's a function called componentLeadByUser that would do the trick, and it's in the default JIRA functions.

Sorry for proving you wrong smile

CURSE YOU NIC

But thanks

Wait, still getting problems. I am using: componentsLeadByUser(usernameinhere) but am getting "Error in the JQL Query: Expecting operator but got '('. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 21)" I also tried componentsLeadByUser = username and got Field 'componentsLeadByUser' does not exist or you do not have permission to view it.

no, the way you use it is "component in componentsLeadByUser(username)". Like in the example in the doc. Burn!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,667 views 18 21
Read article

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