Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

copy sprint value failing trying to remove spaces

eric caprio
Contributor
April 8, 2025

Trying to add a label of a sprint value in one project to another project as a label. I keep getting an error below:

Screenshot 2025-04-08 at 6.23.13 PM.png

So I went and adjusted it to remove spaces, but that also doesn't work. I also do not want to remove any labels that already exist. Any help would be appreciated!

Screenshot 2025-04-08 at 6.23.13 PM.png

My result is:

Screenshot 2025-04-08 at 6.25.44 PM.png

1 answer

1 vote
Bill Sheboy
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.
April 8, 2025

Hi @eric caprio 

First, the Edit Work Item action can usually update a field in one of two ways: from the dropdown list selection of "Choose fields to set..." or from a JSON expression, but it cannot do both for the same edit action.  Please remove the JSON expression and just keep the one from the dropdown.

 

Next, I suspect you want to add a label rather than replace all the values, correct?  If so, at the right of the Labels field, select the ... and then the ADDREMOVE option to then enter your new value in the Values to add field.

 

Finally, you note copying from the Sprint field to make a label.  The Sprint field contains a list of values (for all of the sprints the issue has been in).  Do you ever expect there to be multiple values or one-and-only-one?  How the field is accessed and used to create the label impacts the answer.

If you just want to mash them all up together, you could flatten the sprint names together and then replace the spacing and comma delimiters.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events