Hey Community,
I'm trying to create an automation that will link issues mentioned in another issues comments.
This is the automation that I've been trying. But it is trowing an error. Anyone who can tell me what's wrong? Or help me analyse what is going wrong in the automation?
Hi @Sarah Fajerberg
here's the syntax for your matching: `{{comment.body.match(".*?([A-Z]+-\d+).*?")}}`
Since the match method may return multiple values, I would suggest using it with "Advanced Branching". Adding up on that, match may return groups which are not actual keys. You can confirm that you only link to values that represent a value, by checking if there is an issue present with that key.
See the full setup below.
Feel free to ask for clarification or help if anything is unclear.
Greetings
Gideon
I tried this and got this error. I also attached a screenshot of my setup based on yours.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suppose your branch config looks like this:
Just to be sure you - you do not need the `` around the smart value in my first post. I had success with this:
{{comment.body.match(".*?([A-Z]+-\d+).*?")}}
Hope this helps.
Gideon
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.