The tickets are getting created from mail handler and there will be some data in the description, instead of all the data we wanted to copy only email address present in the description to other custom field.
You can indeed achieve this using our JMWE app's Set Field Value post-function on the Create transition.
For that, you need to set "value type" to "Groovy Expression" and use a regular expression to extract the email address from the description. Something like:
def match = issue.get("description") =~ /(?mi)Email: (.+)/
match.groupCount() ? match[0][1] : null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Janaki.R, you definitely need an app to achieve that. I've done something similar using ScriptRunner, but I'm sure you can find other apps that can help you as well. It depends on your experience with scripts and how variable your template description string can be. That said, which app are you currently using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have script runner and JMWE addon, tried with automation also but I am missing something where unable to achieve the exact output
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, I'd say you're well equipped. You can give it a try based on David's suggestion. Also, if you can, it would be helpful to share the snippet you're working on so that we can better assist you here.
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.