Hi guys...
Is there a way to create an automation in Jira, so that when it identifies a word placed in the description, a label is automatically applied?
For example, the agent creates the request where it informs:
-------------------------------------
Hello time.
The seller 123456 who has the domain mydomain.com.br is having problems with the payment method.
Please verify.
-------------------------------------
As soon as this request is created, a Jira automation identifies either "123456" or "mydomain.com.br" and applies the label "client_problem"
Variation:
Sometimes the agent may inform only the ID (123456) or only the domain (mydomain.com.br)
Thanks.
Does just the simple JQL description ~ "123456 " or description ~ "mydomain.com.br" not work for you? If you limit to the project and possibly even issue type I would think this should only apply in the limited circumstances.
Luana, could you use something like indexOf(String str) to find the strings, or them together, and if they return anything other than 0, then that substring should be there. Then you should be able to add your label?
I attached the smart values KB for reference.
Jira smart values - text fields | Cloud automation Cloud | Atlassian Support
I'm no expert on Automations and can't put together the whole syntax at the moment, but that might get you closer.
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.