Hello,
I'm having a hard time setting up the Field Rules in order to create a JIRA ticket via email. For example, I'm looking to populate a custom field single text field within the issue. I'm using the following regex: (?i)@link:(.*) and using @Alex: in the email, yet it's not parsing the text. It's only populating within the description box. I've tried to use the Capture Group 1, as well as whole expression.
Any advice on what I can do to get the information to populate within the appropriate field is GREATLY appreciated. Or if this issue has been solved before if you could guide me to the link that'd be appreciated as well.
Sender:Anyone
Regular Expression: (?i)@link:(.*)
Match in: Body
Use Value: Capture Group 1
Set Issue Field: Link
In: New Issues
Order:1
Hi Annie,
I've just tested your configuration in my test environment and parsing was made successfully.
Could you please just make sure that the "Initialize Issue Fields" option is enabled in the related Mail Handler's configuration (Go to Email This Issue / Mail Handlers, click on the more options (3-dots) button next to the handler, select "Edit" and find "Handler Actions".)
Also, you might want to avoid saving possible whitespaces into the custom field, so I suggest using the following regular expression instead:
(?i)@link:\s*(.*)
Bests,
Balázs
[META-INF]
Thanks for responding! Even with the updated expression that you sent, for some reason the information is still not populating within the field of the ticket. I do have Initialize Issue Fields selected within the mail handler. Do you know of anything else that would be blocking the text from populating in the text field? Let me know if there's any more information that I can provide that will be helpful.
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.