Validate a field rule under Workflow won't work with Built-in Resolution field

Art Hsieh January 31, 2025

When trying to add Validate a field rule against "Resolution" field using Matches regular expression option, the page will always return the error:

Field Resolution with actual value 'IssueConstantImpl[[GenericEntity:Resolution][sequence,6][name,Later][iconurl,null][description,There is no enough information available to continue working on the issue, but, once the information become available, we will continue to work on it. ][id,10005][version,1]]' does not match regular expression {ANY}

{ANY} can be replaced by any regular expression, e.g. 

^(?:[3-9]|\d{2,})$

(Later|Invalid)

The same regular expression will work with other fields, like the text field, but it just doesn't work with this built-in Resolution field. 

Does anyone have a solution for this?

1 answer

1 vote
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2025

HI @Art Hsieh ,

 

I'm not sure you can use it for system fields like resolutions or statuses. Most cases I've seen is for text or number fields where user can type in any string of text. However, resolution is a handful from a set list, so you can usually match a list instead of using regex.

 

-Ben

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events