I have the following rule:
When: All Comments
If: Service == placeholder
If Block-
If: Status is Open
Then: Transition to WIP
And: Assign the issue to user who triggered (service account)
And: send web request
Else If-
Elif: Status is not Open
Then: Add value to audit log {{issue.comment}}
And: send web request
If: matches {{issue.comment}} contains regex \w+\.\w+(?=@)
Then: create variable {{ackname}} from {{issue.comment.match("(\w+\.\w+(?=@))")}}
And: assign issue to {{ackname}}
And: add value to audit log 'Ack name is {{ackname}}'
Now what happens is that {{ackname}} is not defined.. actually neither is {{issue.comment}}.. I've googled but cannot find any user-friendly docs on what possible smart values there are for this nor how to use regex with the create variable..
But I bet my entire problem is that I'm not defining the values correctly. If anyone can help I'd be super appreciative.