Trying to add a label of a sprint value in one project to another project as a label. I keep getting an error below:
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!
My result is:
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
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.