figueiredorui / 1-click-child-links

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

1 click child -- not appending {System.Title} in VSTS #68

Open manishaawake opened 4 years ago

manishaawake commented 4 years ago

when creating 1 click child task it is not appending title/any field in VSTS for "1 click task extension". Is it only possible in 1 click child extension. Tried following options : Development task - {System.Title} - {Microsoft.VSTS.Common.ValueArea} Development task - {{System.Title}} Development task - {System.Title} Development task - System.Title Development task - {System.ParentTitle} Development task - @System.Title.

Kindly assist.

mpburtt commented 4 years ago

I have it working using {System.Title}. Maybe a screenshot of your template definition would help someone point you in the right direction.

manishaawake commented 4 years ago

It works in "1 click task" extension or just "1 click child links" extension. Title thing is working in "1 click child links" but not in "1 click task". This this functionality limited to only "1 click child links" extension

Scott-Emberson commented 4 years ago

Is there any way to get the parent work item's ID? For example, this doesn't work: SQL code review on {System.ID}.

Dann-DBA commented 4 years ago

Try {System.Id} (lowercase d)

Scott-Emberson commented 4 years ago

@Dann-DBA Sadly that didn't work I have tried {System.Id} & {System.Id}. but I do see the following error get returned in the network.

{"$id":"1","innerException":null,"message":"TF1590005: Document with id storyline.workitems does not exist in collection Default for Current = 300280","typeName":"Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.DocumentDoesNotExistException, Microsoft.VisualStudio.Services.ExtensionManagement.WebApi","typeKey":"DocumentDoesNotExistException","errorCode":0,"eventId":3000}