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

how to create Predecessor link in Scrum Templeate

I found in Scrum template, there is no Predecessor,but I really need it.
so I plan to use Plugin to create a new link type which called pre
in plugin, i add link extension and the plugin.xml like below:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         point="com.ibm.team.process.service.operationAdvisors">
      <operationAdvisor
            class="advi.OperationAdvisor"
            id="advi.operationAdvisor"
            name="PATAC Advisor"
            operationId="com.ibm.team.workitem.operation.workItemSave">
         <extensionService
               componentId="advi.myExtensionService"
               implementationClass="advi.MyAbstractService">
                <prerequisites>
                   <requiredService interface="com.ibm.team.workitem.service.IWorkItemServer"/>
                   <requiredService interface="com.ibm.team.repository.service.IRepositoryItemService"/>
                   <requiredService interface="com.ibm.team.repository.service.IContentService"/>
                   <requiredService interface="com.ibm.team.workitem.service.IAuditableServer"/>
                   <requiredService interface="com.ibm.team.repository.common.service.IContributorService"/>
                   <requiredService interface="com.ibm.team.workitem.common.IWorkItemCommon"/>                  
                </prerequisites>
         </extensionService>
      </operationAdvisor>
   </extension>
   <extension
         point="com.ibm.team.repository.common.linkTypes">
      <linkType
            componentId="com.bim.team.linktype.component"
            constrained="true"
            id="com.ibm.team.linktype.pre"
            internal="false">
            <source>
                <endpoint
                    displayName = "Pre"
                    id = "pre_id"
                    multiplicity = "0..1">
                    <itemReferenceType
                        itemTypeName = "WorkItem"
                        packageURI = "com.ibm.team.workitem"/>
                </endpoint>
            </source>
            <target>
                <endpoint
                    displayName = "Pre By"
                    id = "pre_by_id"
                    multiplicity = "0..n">
                    <itemReferenceType
                        itemTypeName = "WorkItem"
                        packageURI = "com.ibm.team.workitem"/>
                </endpoint>
            </target>
      </linkType>
   </extension>
</plugin>
and then I restart the server
I can not found the new link type in Quick info presentation.
I think maybe my deployment is wrong .
so anyone knows how to do it?
thx

0 votes



2 answers

Permanent link

You could try to use the depends on link type. 



If the link type does not show up it is a deployment issue. 
1. Use Jetty to debug

0 votes


Permanent link
The reason it's not in the template is because it's not an Agile concept.

In Scrum, if you need something done before something else then you put it higher in the backlog.

0 votes

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,953

Question asked: Jul 12 '19, 3:27 a.m.

Question was seen: 1,274 times

Last updated: Jul 12 '19, 5:56 a.m.

Confirmation Cancel Confirm