Hi! I´m struggling to reference the Component Lead in my JQL queries. I tried this project = GI AND componentLead != assignee but the componentLead part has an error.
Can someone help me?
Hi @Santino Lucca Castrataro , there is not a JQL function for the Component lead. could you explain your use case and your end goal so that we could see if there's a different way to achieve it?
Hey Jack! Thanks for your answer! Sure, my client needs to change the component lead every N time. And with this change, all the issues must have their component lead as an assignee, I´m actually using that JQL in a branch so I can use the "Assign Automatically" function in the issues where the assignee and the component lead is different.
Thanks again!
A couple of comments.
Warning: Keep in mind that Components is multi-select so you could have more than one component listed which can compromise intended component lead assignment. Just an FYI here. As an alternative you could create a single select 'component' field but this would not come with the component lead association.
You could use Automation to ensure that the Assignee gets updated when the Component (or new custom field if you go that direction) changes. However, this would be static, meaning you would need to code the leads into the rule and update when leads change. ☹️
One idea you could try...
Create an automation rule that triggers any time the component field is changed. You can add any condition necessary to qualify your rule, such that the action only runs when you want it to. However, you might not need a condition at all. The action would be to set the assignee automatically. As a prerequisite to this rule, you need to ensure the following:
In theory, this should ensure that the Assignee follows the component field. However, recall the initial warning on multiple components. If you test this out let me know your results.
I think that is not usefull for me at all because we don´t update the "Component" field because it represents a physical zone. Each issue has an adress and the place where is located will always be the same.
We need to only update the assignee because they distribute their work in zones. Each zone has an assignee, and every certain time they rotate the assignee of each place.
@Jack Brickey - I do have a use case behind the OP request. Trying to create a filter for a KanBan board that allows a 3rd party to do a filter query similar to "Only My Issues", based on the component lead. Acceptable alternative might be to present a query box to enter a name.
This makes me wonder if using Assets to hold the people who would serve as Component Leads. This begs the question, then... Can an Asset Object be a Component Lead?
It looks like you're new here. Sign in or register to get started.