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
I second that..

I want to constrain my new linktype to specific workitem types.
One end is defect, and the other end is delivery (custom workitem)

Sam

0 votes


Permanent link
I second that..

I want to constrain my new linktype to specific workitem types.
One end is defect, and the other end is delivery (custom workitem)

Sam


I opened Defect 202277 for this. It was linked as a duplicate of 160162. You may want to add yourself as a subscriber.

0 votes


Permanent link
I second that..

I want to constrain my new linktype to specific workitem types.
One end is defect, and the other end is delivery (custom workitem)

Sam


I opened Defect 202277 for this. It was linked as a duplicate of 160162. You may want to add yourself as a subscriber.

I meant to say, I opened an enhancement request.

0 votes


Permanent link
thanks.. subscribed

0 votes


Permanent link
I posted a partial (works from eclipse) solution to the 160162 workitem.

need some help to find the web code to fix.

Sam

0 votes


Permanent link
Maybe this can help. Not sure: https://jazz.net/library/article/782

A server based precondition can prevent from saving wrong linkages.

0 votes


Permanent link
yeh, but ugly.. I want to try to prevent bad behavior, not spend all my time recovering from it.

0 votes


Permanent link
so, we just installed my new link plugin on our test server (3.0.1.1), and altho the edit presentation master for links does NOT have these new links checked, they still show in the Add drop down for ALL projects.. because the end points are 'workitem'.. even tho its intended for a specific link only defect to custom workitem.

any way around this?

0 votes


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..

0 votes


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)

0 votes

1–15 items
page 1of 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,938

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

Question was seen: 9,767 times

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

Confirmation Cancel Confirm