Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Michelle Schmidt
Contributor
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
Contributor
August 29, 2022

Thanks - I voted for the enhancement request!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events