figueiredorui / 1-click-child-links

Add Child-Links from predefined templates with a single click.
MIT License
28 stars 36 forks source link

New Feature: Copy StoryPoints or Effort from parent ticket #90

Open inmistlosted opened 3 years ago

inmistlosted commented 3 years ago

The tool has a feature to copy specific values from the parent ticket to a child ticket:

https://github.com/figueiredorui/1-click-child-links/wiki/Copy-fields-value-from-parent

I would like to add two new values there:

This should copy the value from Story Points and Effort field to the Remaining Work of child ticket

sanketraj8 commented 3 years ago

If the fields are present in parent, you can get them in child (may not be the same field). I have Billing Code in parent but not in child. Hence when the child is created, I can add "Billing Code - XXXXXX" in Description field. Then add everything else from parent Description field.

sanketraj8 commented 3 years ago

To get the full list of fields (StoryPoint and Effort in your case), please use use witadmin command to get the complete list. Link

Enter the following commands in command prompt and replace 2017 with your VS version and tfs_url with you base tfs url.

cd %programfiles(x86)%\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer witadmin listfields /collection:tfs_url The output will give you all the parameters. You can save them in a notepad file for future reference.