How to define work item attribute type?
Hi All,
I am trying to create a custom attribute for work items in a repository. The custom attribute should be a dropdown of all build definitions created for the same repository connection. Right now I am able to manually populate an enumeration list. I am trying to make it dynamic such that whenever a build definition is created, the build definition drop down in the work item is updated. Is it possible to create a Work item attribute type which gives a list of build definitions(Similar to contributor or affected teams). Is there any other way? Please guide.
Thank you!
Ananya
I am trying to create a custom attribute for work items in a repository. The custom attribute should be a dropdown of all build definitions created for the same repository connection. Right now I am able to manually populate an enumeration list. I am trying to make it dynamic such that whenever a build definition is created, the build definition drop down in the work item is updated. Is it possible to create a Work item attribute type which gives a list of build definitions(Similar to contributor or affected teams). Is there any other way? Please guide.
Thank you!
Ananya
2 answers
I don't believe that is possible today. You can try the attribute Item, which allows to select team areas, streams and components. You can set the presentation to some item types, but I don't think, build definitions are supported. However, try it out and consider creating an enhancement request, if what you want is not supported. Please supply a good use case - what is the benefit to the user -if you do so.
Hi Ralph,
Thank you for replying. Like you said, Item attribute does not have the build definition option. Could you please share the link where I could raise an enhancement request? Thank you.
Thank you for replying. Like you said, Item attribute does not have the build definition option. Could you please share the link where I could raise an enhancement request? Thank you.