Issue with automation about summary

Stefano Colagiacomo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2024

Hello, I describe the scenario below:

 

I have a parent task and a lot of subtasks are created via automation

 

Image the task is named "test - customer name 1"

and subtask is created with subfix -customer name 

example:

operation1 -customer name 1

operation2 - customer name 1

operation 3 - customer name 1

etc.

 

think in the parent task I have to change "customer name 1" to "customer name 2"

I would like to change all the final part, so i would like to keep operation 1,2,3 etc and change only "customer name 1" to "customer name 2"

 

so this is what I want:

operation1 - customer name 2

operation2 - customer name 2

operation 3 - customer name 3

1 answer

1 vote
Mykenna Cepek
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2024

You'll probably want to use some combination of automation Smart Values for Text fields, to adjust from "...customer name 1" to "...customer name 2". Check out the options in the docs:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/

Part of the complexity here is what the "operationX" text and the "customer name Y" text looks like. For example, if you're sure that neither will ever contain a hyphen, then you can use the hyphen as a delimiter, and use the Smart Value text functions to:

  • Locate the hyphen
  • Keep everything to the left of the hyphen
  • Concatenate the new customer name

Suggest an answer

Log in or Sign up to answer