Hi All,
I am trying to create an automation for a certain scenario, but I am having trouble navigating the click and build style of rule creation.
The scenario here is that we create tickets based on the contents of an email if sent to a specific alias. We also receive automated health check report emails to said alias. So what I am having trouble navigating is to create automation for the following scneario:
And another scenario, just in general, is to close a ticket based on the Summary itself if titled "Close this" when coming in.
Also please let me know if that scenario is possible to automate in general,
Thanks!
Hello @Supakij Ngamwongpaiboon ,
Thanks for reaching out and I believe I came up with a method that will meet these criteria.
First, to verify if I understand the workflow correctly it will flow as follows:
If I read this correctly the following Rule should do the trick, and for a reference point, I am using concepts from the following documentation:
The rule flows as follows noting I added in a few Optional sanity check via comments to verify successful and failed operations:
Hope this helps out and is what you are looking for. Let me know if you have any follow-up questions.
Regards,
Earl
Hi @Earl McCutcheon ,
Thank you very much for your response, this was exactly what I was looking for.
I am however running into an error in that it is not closing out the "Open" / "New"(first) ticket, while automation does close out the "Closed" / "Completed" (second) ticket successfully.
Screenshot of the audit log of the error:
Here is how the rule is set up, please let me know if I have anything set up incorrectly that would be causing this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Supakij Ngamwongpaiboon ,
Thanks for all the details, and this one was throwing me for a loop for a while there too, as it seemed to be working on my end without issue in my test, However I was testing with slightly different syntax so after I aligned the syntax formatting I found the issue.
The JQL does not like the brackets "[" and "]" unless you close off the search as exact text vs approximate text for the search syntax.
If you modify the two JQL searches to the following the rule should work with the formatting including the brackets:
summary ~ "\"{{OriginSummary}}\"" AND summary ~ "Completed"
and
summary ~ "\"{{OriginSummary}}\"" and summary ~ "New"
Regards,
Earl
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.
Is it possible to implement same automation rules in Jira Server? As Jira server is not having the smart variables option, any other way to do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @itsmejira ,
Unfortunately, this action is available only in Jira Cloud at this time.
There's a feature request for Server and Data Center tracking interest in this at the following link, Make sure to add a vote to the request to help track continued interest:
Regards,
Earl
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.