Hi all, I've got a string in a text field which looks something like
A001683R001S002L004
Using Jira automation (Cloud), I'd like to use smart values to split this reference up into sections and populate some hidden custom fields with these sections, so it would look like:
A001683 (custom field A) - first 7 characters
R001 (custom field
- characters 8-11
S002 (custom field C) - characters 12-15
L004 (custom field D) - characters 16-19
I assume I need to use the {{issue.field.split(... function but I'm not sure how to format this to split the string based off the number of characters, rather than by a (" ") or a (".") etc.
I can do the custom field edits and setting rule variables, it's just this splitting part which I'm stuck on. Any ideas would be much appreciated!