Hi all,
I'm making an automation that would change a report from a general mailing system to a ticket assigned to the user who used said system.
the ticket is created, and contains the text in discription that matches email adres of the user.
I cannot seem to use a smart value for the reporter field.
I've done 'add comment' with the same 'logic' and this works perfectly:
{{issue.description.match(".*An email has just been reported by (\S+).*")}}
but when i start typing this into the 'reporter' field it cycles the existing email adresses and doesn't accept this input and leaves it blank when i set the value
I based the idea on:
https://confluence.atlassian.com/jirakb/extract-content-out-of-description-and-summary-with-regex-and-automation-1157495262.html
but can't seem to enter the regex into the field
Hi @jeroenvandendooren -- Welcome to the Atlassian Community!
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
To use a smart value expression in issue edit fields, type in the expression and it will appear below the field. When it does, select it for use.
That knowledgebase article is for Jira Server / Data Center, but I just tested and apparently the Reporter field can also now be set from an email address for Jira Cloud.
Kind regards,
Bill
it's a super easy rule: but as you see when i type the logic it only shows mail adresses and I can't select anything
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I type in (or paste in) as smart value expression, it does appear below the Reporter field, allowing it to be selected. Please try that again and do not select the dropdown list (arrow at that right) and it should work.
Here is an example where I used a Created Variable to do this successfully:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I start typing an accolade I see 'Smart value '{' pop up under the textbox for a fraction of a second to then dissapear and be replace by the list of email adresses again. (without touching the dropdownlist arrow)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This could be a browser hiccup, so perhaps try:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tried multiple locations ,isps, browsers,devices, credentials ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Next thing to try: check for a "glitched" rule.
For some reason, rules can get broken by too many edit / publish cycles. I do not know the root cause for this, but the way to check is:
If that does not help, there could be some underlying problem with your project or Jira site. Perhaps work with your Jira Site Admin to submit a ticket to Atlassian Support, as they may see something in their internal logs which we are missing:
https://support.atlassian.com/contact/#/
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.