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

Work item approval during delivery at the component level

OOTB you can require approvals at the stream level is it possible to take it a step further and require approvals only  when specific components in the stream are being delivered to.

0 votes



2 answers

Permanent link
The require work item approval advisor isn't configurable per component. You can still get it to operate this way if the components are owned by different team areas. The team area for components that you want the approvals can enable the advisor. There is no way to do this if you need the components to be owned by the same owner.

0 votes

Comments

I tried that  I had 3 components in  the stream.   Two of the components and the stream belonged to the team area that the approval precondition was enabled.  the third component belonged to a different team team area but was still prompted for an approval when modifying this component

Sorry about this incorrect information. I mixed up the way permissions work and it's the stream owner that sets the advisors, not the component owner.


Permanent link
I am not aware of an OOTB way to require different approvals for different components in the same stream.  In particular, I believe that the Deliver preconditions are based only on the Process Configuration of the project/team area that owns the stream that is the target of the deliver operation, and is not affected by the Process Configuration of the project/team area that owns the component.

0 votes

Comments

Is it possible to obtain the implementation details of the OOTB "Require Work Item Approval"  precondition. To  help develop a custom operations advisor  based on a modified version of the  precondition.
The modified version would require an approval only  if there are changeset(s)  in the delivery  being delivered  to component(s) that are not owned by the  same team area as the stream.

Hi Emeka,

http://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ shows an advisor that handles delivery. That should give you a skeleton that you can get started with. You can learn about how to create these kind of extensions and get your development environment set up using https://jazz.net/library/article/1000
Set up that way allows also to use the PDE (Eclipse Plugin Development Environment) to look into the SDK and find some of the code. In addition my blog has several other API examples that should allow you to figure if the work item has an approval.

Thanks that helps a lot

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: Feb 07 '13, 3:58 p.m.

Question was seen: 5,160 times

Last updated: Feb 11 '13, 9:16 a.m.

Confirmation Cancel Confirm