Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • We use the @commentBody@ special value to indicate that we want the find replace logic to be applied to the existing comment body to set the updated comment. Note that @commentBody@ must be the only text in the comment parameter. 
  • We use the findReplace parameter in this simple case. You can also use the findReplaceRegex parameter similarly for more complex cases. 

 


Code Block
bash
bash
--action runFromContentList --cql "space = ACLI and type = comment" --common "--action updateComment --id @contentId@ --comment @contentBody@ --findReplace \"old.examplegear.com:new.examplegear.com\" "

 

...