Has anyone written a categoryMatches() function to be able to filter on Categories?

Michelle Schmidt August 25, 2022

We need to be able to filter on all Categories starting with a certain prefix.  However, the Category fields is metadata, and you cannot use a ~ to filter.

ScriptRunner has a projectMatches() function.  Has anyone written a function for the Category field?  

Is there another idea on how to filter on Category using "like" or "contains"?

Thanks for your ideas!

1 answer

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 25, 2022

Hi @Michelle Schmidt 

Here is an example of how Scriptrunner can be useful

https://youtu.be/sF9N0nBtrcc

There is no JQL supported yet and here is the request

https://jira.atlassian.com/browse/JRASERVER-45847

Thanks,

Pramodh

Michelle Schmidt August 29, 2022

Thanks - I voted for the enhancement request!

Suggest an answer

Log in or Sign up to answer