Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsts work item create: ability to link related work items #93

Closed
jdanyow opened this issue Nov 22, 2017 · 13 comments
Closed

vsts work item create: ability to link related work items #93

jdanyow opened this issue Nov 22, 2017 · 13 comments
Assignees
Labels
boards enhancement planned Design complete. Development has been scheduled Task Enhancements or engineering items will fall in this category.

Comments

@jdanyow
Copy link

jdanyow commented Nov 22, 2017

Something like this would be super useful for our team:

vsts work item create ...required args... --parent xxxxxxxxxx
vsts work item create ...required args... --related xxxxxxxxxx

cc @adkinn

@leeberg
Copy link

leeberg commented Nov 30, 2017

This is my top request - I am using VSTS CLI to clone projects from a master template project... but without the ability to set parent / related I am left with tons of "un-parented" tasks and PBIs with no child tasks

Also, I was also hoping this info might show on the "relations" under show work item:
Imgur

When I use the plain old rest API I am seeing relations info - but nothing is being passed except null from the CLI

@peteg18
Copy link

peteg18 commented Dec 20, 2017

Very important for us as well!

vbossica added a commit to vbossica/azure-devops-cli-extension that referenced this issue Dec 22, 2017
vbossica added a commit to vbossica/azure-devops-cli-extension that referenced this issue Dec 27, 2017
@vbossica
Copy link
Contributor

@jdanyow @leeberg @peteg18 Please have a look at #125 to see if it would fit your needs.

@jdanyow
Copy link
Author

jdanyow commented Jan 4, 2018

@vbossica looks good, much appreciated. Any ETA on a release?

@vbossica
Copy link
Contributor

vbossica commented Jan 4, 2018

@jdanyow @tedchamb knows all the details about release ETA (I'm not part of the VSTS team and don't know their release cycle)

@VelinGeorgiev
Copy link

Its been 8 months since the pull request is being submitted. @tedchamb, any news on that?

@tedchamb
Copy link
Contributor

@VelinGeorgiev, all I can say is that there is going to be a large round of investment in the cli coming soon. These PRs are on the list.

@VelinGeorgiev
Copy link

Thanks for the update @tedchamb! Looking forward for that new update.

@atbagga atbagga added the Task Enhancements or engineering items will fall in this category. label Dec 28, 2018
@snankani snankani added the planned Design complete. Development has been scheduled label Mar 26, 2019
@gauravsaralMs
Copy link
Contributor

gauravsaralMs commented Apr 16, 2019

I am proposing we start with 3 commands
az boards work-item relation add
az boards work-item relation remove
az boards work-item relation-type list

this should solve most of the customer scenarions
also in
az boards work-item show we should be getting all the fields (including relations)

Using az boards work-item relation-type list users can list the types of relations supported in the Org
like https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/work%20item%20relation%20types/list?view=azure-devops-rest-5.0

then they can use oppositeEndReferenceName from this command to
az boards work-item relation add
az boards work-item relation remove

which will look something like this
az boards work-item relation add --id 4 --relation System.LinkTypes.Hierarchy-Forward=1,2,3
`az boards work-item relation add --id 4 --relation-type 'Parent' --target-id 1,2,3'

cc: @geverghe @snankani @ishitam8

@geverghe
Copy link
Contributor

FYI - @jdanyow , @leeberg , @peteg18 , @vbossica , @VelinGeorgiev

@jboulter11
Copy link

Will this PR include --parent on create or will that come in a follow-up? Excited to see this being worked on! :)

@gauravsaralMs
Copy link
Contributor

Will this PR include --parent on create or will that come in a follow-up? Excited to see this being worked on! :)

at least not as part of the first cut, we will see how much popular this scenario is before implementing that.
Although this is still be achievable in 2 steps, i.e. first create and then link

@gauravsaralMs
Copy link
Contributor

This will be available in next release, planned for something late this week or next week.
Closing this Issue as ability to link work items is added.

In case some other feature request/ enhancement is needed. Please raise a different issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
boards enhancement planned Design complete. Development has been scheduled Task Enhancements or engineering items will fall in this category.
Projects
None yet
Development

No branches or pull requests