Hi All,
For a project, all tickets are currently created with a summary, as shown below. I aim to establish automation that retrieves the value for "server_number" and populates the custom field "serverno" every time a ticket is created.
Summary: [P2] [Warn on {server_number:982a}] [xyz] Cluster Status (Up or Down)
For example, for the given summary, I intend to place the value "982a" into the custom field "serverno."
Thanks
If your summary follow always this template, you can use substring to fetch your value. Considering your current case, this smartvalue with substring should be works for you. Use this: {{issue.summary.substringBetween(":","}")}}
If you want to try another substring attributes, just take a look here: https://confluence.atlassian.com/automation/text-functions-993924863.html
nice trick!
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.