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

Making Attachment Required before a certain Workflow State

Hello there,

I want to make sure a file is attached to a work item before it reaches a certain workflow state.
I do not see the "Attachment" field listed for Required Fields under Team Configuration->Operation Behavior.

Any suggestion?

Thanks,
mm 

0 votes



One answer

Permanent link
Hi,

I think you would have to create a custom precondition for that. https://jazz.net/library/article/784 provides a good starter in conjunction with https://jazz.net/library/content/articles/rtc/3.0.1/extensions-workshop/. The latter article shows a followup action. Preconditions are for the extension point com.ibm.team.process.service.operationAdvisors, you want the operation ID com.ibm.team.workitem.operation.workItemSave. https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations provides a list of operation ID's.

You implement IOperationAdvisor instead of IOperationParticipant.


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
× 6,117

Question asked: Jun 11 '12, 5:12 p.m.

Question was seen: 5,029 times

Last updated: Jun 12 '12, 4:04 a.m.

Confirmation Cancel Confirm