Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Custom link type with specific source work item type

Is there a way to create a custom link type where the source endpoint is defined as a specific work item type? For example, our process template defines a work item type APAR. I would like to create a custom link type where the source endpoint must be an APAR work item. I tried defining the itemReferenceType for the source endpoint by setting the itemTypeName and packageURI to the APAR work item's Name and ID respectively. This did not work. Does anybody know if this can be done and, if so, how?

0 votes



13 answers

Permanent link
given a workitem, how can I find the defined workitem types for this project?

I don't see that data off a project area..


You need a Workitem Client/Service, i have this call in PlainJava, there should be a similar service.

IWorkItemClient.findWorkItemTypes(projectArea, monitor)

cool.. thx.,. found what I needed and works great for the eclipse client

code posted back to 160162

still need to do the same for the web client

0 votes


Permanent link
posted the web solution back to 160162.

this only shows the custom link types in the projects where the specified workitem types are defined AND only shows the appropriate end action in the Add selection list (if this workitem is defect, it only shows the other end of the link to defect, and vice versa).

need to fix the 'add' dialogs next to only allow the opposite end type.

Sam

0 votes


Permanent link
I posted the Eclipse Add dialog enhancement to 160162.. only the defined type for the end link being created is listed in the Add dialog type dropdown.. and if u push 'create workitem' it doesn't put up the selection dialog, it just creates the workitem of the correct type..

the web side is much more difficult, as it runs off of queries.. instead of workitem types..

don't know what to do there..

but this is 90% of the need.

Sam

0 votes

1–15 items
page 2of 1 pagesof 2 pages

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,948

Question asked: Mar 13 '12, 11:47 a.m.

Question was seen: 9,846 times

Last updated: Mar 13 '12, 11:47 a.m.

Confirmation Cancel Confirm