Hi,
i want to search for issues which have more than 2 components.
I tried: AND component = ("3"). Is there a way to write a filter which performces the way i described?
Hi @Ibrahim Erdogan ,
welcome to the Atlassian community!
Unfortunately you can't do that. As a workaround, you need to create a scripted filed (through script runner) with a numeric value that return number of components for each issue.
So, you can filter based on that new field.
Hope this helps,
Fabio
Hi,
tanks!
I got 1200 issues which i have to analyze. So doing this manually would take a lot of time. Do you think its faster with the scripted file thing ( i never tried that before, so i think it would take a lot of time either). What do you think?
KR
Ibrahim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scripted Field, with code inside, will calculate this for you for all existing issues. You need just to spend time to setup this field and to write 5 lines of code.
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have Script Runner app to setup a scripted field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BTW, code of your scripted field should be :
return issue.getComponentObjects().size()
this should solve your issue.
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if it worked please mark my answer as accepted!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.