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

RTC - Workitem

 A Work Item can be closed with the one or more approval as "Rejected". Ideally this should not be allowed, and this is not the correct closing of a Work Item. I tried customizing Pre-Conditions with Project Admin role, but there is no way to address this. Please help with any such precondition with jazz admin role.

0 votes


Accepted answer

Permanent link
First, I would kindly ask for a reasonable informative subject for the question. "RTC - Workitem" is not reasonably informative.

The question itself is also quite rudimentary and leaves a lot of room for interpretation, pretty much to the point where trying to answer makes few sense. Here my thoughts anyway:

Approvals are, as far as I can tell, pretty much disconnected from the work item work flow. The only connection is that EWM can be configured that a state change occurs when approval change the cumulative state.

Workflow states can have a resolution. The available resolutions are defined in the workflow. There is no semantic that ties resolutions to any rules. So from a tools perspective closing a work item and picking any resolution is fine and there are no built in checks for resolution values and other work item characteristics.

I have not tried if it would be possible to use validators or conditions with the resolution. With respect to approvals, there is no way to access them in simple validators or conditions since, as far as I am aware, they are not available in the JavaScript API.

The Project Admin or JazzAdmin or whatever Role has nothing to do with any of the topics above.

It is possible to create Java based validators and conditions as extensions. As a better alternative it is also possible to create custom preconditions/advisors that can check a work item and prevent it to be saved if the semantic should prevent the save. I have created such custom extensions in the past and there are examples and how to's and API examples on my blog https://rsjazz.wordpress.com/

Vani B selected this answer as the correct answer

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
× 12,014

Question asked: Jun 21 '22, 11:42 a.m.

Question was seen: 726 times

Last updated: Jun 22 '22, 2:13 a.m.

Confirmation Cancel Confirm