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

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
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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

167 views 1 17
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