Custom field value limits in automation?
Asked by Pedro Lopez:

Hey all,

When creating a Automation rule in Jira, I am running into an issue with the "Issue fields condition" rule.

I made a Select list custom field with about 20 values. However, when I go into Automation and use the Issue fields condition, select the custom field I made, use the "is one of" argument, and select my values, only 15 of my 20 values appear. I need all values to make the Automation rule work. I am using this rule to assign Assignees to a ticket if the custom field contains certain values.

I have tried recreating the rule and recreating the custom field values to see if it would fix the issue. My 5 bottom values are the ones that do not appear in Automation.

Has anyone else encountered this issue? Is it a bug or does Jira place limits on the amount of values you can have in the Issue fields condition? Is there something I'm missing? Any help is appreciated!


Answers:
author: Trudy Claspill
body: Hello [@Pedro Lopez](/t5/user/viewprofilepage/user-id/5424881)

Welcome to the Atlassian community,

Do you mean when you click in the field to select a value, only 20 values are initially displayed? If so, that is intentional. Jira will not display all options in a selection list by default when there are a large number of options.

You can start typing in some portion of the value you want to find to filter the list.

Example: here is a portion of a large selection list I have defined.

![Screenshot 2024-02-08 at 2.08.19?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/305324i614E179A5E4A5528/image-size/large?v=v2&px=999 "Screenshot 2024-02-08 at 2.08.19?PM.png")

Notice that there are multiple values that include "a".

In an Issue Fields Condition, when I click in the field to select values, the list is automatically sorted alphanumerically, which puts the numbers first, and I get only 15 entries. At the bottom of the list I see only x value with "a" in it.

![Screenshot 2024-02-08 at 2.10.21?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/305325i98AD728731F43B40/image-size/large?v=v2&px=999 "Screenshot 2024-02-08 at 2.10.21?PM.png")

But if I type in "a", then I get a list of the values that include "a".

![Screenshot 2024-02-08 at 2.11.41?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/305326iE8FDAA449149C3B4/image-size/large?v=v2&px=999 "Screenshot 2024-02-08 at 2.11.41?PM.png")

If you are not able to figure out text to enter to filter the list down to a set from which you can select your values, tell us more about the values in the list and what happens when you try to filter them.


author: Andrea_Lawrence
body: I'm having this issue as well but the value I need is not showing up when I start typing it. It's not an option at all.

comments: author: Trudy Claspill
body: Can you provide a screen image of what you see in the Automation rule, and the custom field definition showing the value available?


author: Andrea_Lawrence
body: [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) sure!

Here are all of my Issue Types for this specific project:

![Screenshot 2024-02-23 at 9.06.50?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/308408i5BB9F1FC97C1C825/image-size/large?v=v2&px=999 "Screenshot 2024-02-23 at 9.06.50?AM.png")

I have an automation rule configured already with an IF condition for "External" but I want to modify the rule to add an ELSE condition (or another IF) for "Internal".

Here's the step that exists already for External:

![Screenshot 2024-02-23 at 9.11.01?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/308409i5521CB0DCBD0C9BB/image-size/large?v=v2&px=999 "Screenshot 2024-02-23 at 9.11.01?AM.png")

When I add an ELSE condition for Issue Type and type "Internal", my issue type is not appearing. In fact, none of my issue types for this particular project show up as options.

![Screenshot 2024-02-23 at 9.13.02?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/308411iD6F99C19868077E3/image-size/large?v=v2&px=999 "Screenshot 2024-02-23 at 9.13.02?AM.png")![Screenshot 2024-02-23 at 9.14.07?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/308410iA89A5EDCA63E3A32/image-size/large?v=v2&px=999 "Screenshot 2024-02-23 at 9.14.07?AM.png")

What I did notice though, originally the scope for my rule was multiple projects since I have a step that creates a ticket in another project. I duplicated the rule but changed the scope to a single project and then my issue types showed up.

![Screenshot 2024-02-23 at 9.27.54?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/308412iFC26CB6A7F69A9E4/image-size/large?v=v2&px=999 "Screenshot 2024-02-23 at 9.27.54?AM.png")

I made the Else block with my Internal issue type and saved the rule (still with single project scope). Then I went to global automation settings and changed the project scope back to multiple projects and saved.


author: Trudy Claspill
body: That sounds familiar - a problem with selecting issue types in a Condition when the rule is scoped for multiple projects.

I'm not currently finding where I read about that before, though.


author: Pedro Lopez
body: Nope, that was the issue! All my values are in text, so the values at the bottom of the alphabet were being excluded. Typing in the first letter does cause it to appear, so now I could find the missing values. It was all on my end. Thanks for the fix! I appreciate it.


Tags: automation

cloud

custom-field

jira-service-management

jira-service-management-cloud