Post

1 follower Follow
0
Avatar

How do I find and replace a text string with the task names for a specific project?

I need to create a custom action that can be run on a specific project. After using a template to create a new project, some of the tasks will need to be renamed and we would like to be able to use a Find&Replace custom action to do this quickly and efficiently.

Rhonda Mandeville Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Rhonda,

I'll do my best to explain, here.  If you have any follow-up questions, I recommend hopping on an Advanced Q&A webinar: http://webinars.clarizen.com/

To achieve this, you can write a new custom action at the Project level.  Essentially, in the "Set Actions" portion of the custom action, you'll want to choose the "Update Field" option, choose the "Work Items > Name" as the field to update, click the checkbox to "Filter Related Items" and put your filtering criteria in there.  This, again, is based on your requirements and the input you obtain from the user.  Perhaps you can update all tasks that contain a specific sequence of characters in the name, i.e:

Contains(TargetObject.Name,"XYZ")

where "XYZ" can be hard-coded, or asked of from the user.

Again, hop on an advanced webinar for further clarification.

Rob

Yoko Suzuki 0 votes
Comment actions Permalink