I want to copy a part of a string stored in one custom field to another custom field on the same issue.
Can I do it via automation since I can't find any custom field type which will let me define the function that does this?
Should be possible with smart values in automation for jira. Can you let me know the custom filed types involved here ?
Hi @Ajay _view26_ Both are multi-line text fields. One of them is auto-populated by a link with Zohodesk. I need to copy only the numerical code (of format #****, where * is one character) which is at the beginning of every string and discard the rest of the string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could try using regex in your expression something similar to
{{issue.description.match("([a-z]+@[a-z]+\.[a-z]{2,4})")}}
Note that you would need to edit the regex to suite your requirement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.