Forums

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

Scriptrunner code for parsing a field into several fields

Maria DePasquale
Contributor
August 5, 2020

I have a text field which can have data in two formats:

1) 999-11111-aa111-aaa00     OR

2) 999-1111-aa-111-aaa00

In either case, the data needs to be parsed into four separate fields and all four fields are single-select drop downs.

aa111 and aa-111 should be parsed into the same (third field)

Does anybody have scriptrunner code to parse between the dashes and take into account when field three data includes a dash?

 

0 answers

Suggest an answer

Log in or Sign up to answer