Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Check an Issue's Field

Luis Dominguez April 5, 2022

 

In the workflow, I am trying to create a rule that would prevent an issue from getting marked completed until a certain field is approved. However, this field requires either letter and numbers, but how do I make it require both letter and numbers?

The field is alphanumerical. 

Jira question Issue Field.png

1 answer

0 votes
Trudy Claspill
Community Champion
April 5, 2022

What type of field is "Approval of Change Control (CC) Request"? Is it a field where you type in the contents or do you pick from a selection list?

If you are typing in the contents, and what you type in is not strictly numeric, then select Text.

Luis Dominguez April 6, 2022

It is a custom field that contains letters and numbers for example BIZ12345. If I select text it does not pick up on the numbers. 
How would I write the rule that states: If there are not 10 characters (letters and numbers), then the issue cannot be completed in the workflow?

Trudy Claspill
Community Champion
April 7, 2022

I don't work with Team Managed projects frequently, but I have reviewed the Workflow Rules documentation and experimented with a test project.

Your only options for evaluating the contents of a Text field are "equals" and "doesn't equal". There is no option to evaluate the field content using pattern matching, so I don't believe it is possible for you to determine the length of the field. It appears to me that you have the compare the field contents against a specific and explicit value.

Like Luis Dominguez likes this

Suggest an answer

Log in or Sign up to answer