You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.