It's all about the answers!

Ask a question

Advisor on checkin action


Yehiel Glass (25528886) | asked Jan 01 '12, 5:37 a.m.
Hi,

How can I create an advisor on checkin action ?
I want to verify that the checkin is not to Change-set related to specific WI state.

Thanks.

7 answers



permanent link
Geoffrey Clemm (30.1k23035) | answered Jan 16 '12, 12:23 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, I'm sure (:-).

To see the current list of process-enabled operations, see:
https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations

Cheers,
Geoff

On 1/16/2012 10:53 AM, yehiel wrote:
gmclemmwrote:
The checkin operation is not process-enabled, so you cannot create
either a precondition or follow-up action for it.

Cheers,
Geoff



Hi Geoff,
Are you sure there is no option to hook checkin/discard/suspend
operations?
Maybe there is an option to hook these operation from client side?
I just can't believe that you can't make a participant on
discard/checkin operations.

Thanks,
Yehiel

permanent link
Makson Lee (41024241) | answered Feb 06 '12, 4:32 a.m.
The idea is that a user's workspace is their personal work area and, as such, process is not enforced on changes the user makes to their workspace. Why do you feel you need process enabled on a user's workspace?


Well, the workspace is developer's personal work area, but, when he check in something into his workspace, he also consume server's CPU, RAM, and disk, that's why we need the process enabled.

Regards,
Makson

permanent link
Geoffrey Clemm (30.1k23035) | answered Jan 01 '12, 8:23 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The checkin operation is not process-enabled, so you cannot create
either a precondition or follow-up action for it.

Cheers,
Geoff

On 1/1/2012 5:38 AM, yehiel wrote:
Hi,

How can I create an advisor on checkin action ?
I want to verify that the checkin is not to Change-set related to
specific WI state.

Thanks.

permanent link
Yehiel Glass (25528886) | answered Jan 16 '12, 10:41 a.m.
The checkin operation is not process-enabled, so you cannot create
either a precondition or follow-up action for it.

Cheers,
Geoff



Hi Geoff,
Are you sure there is no option to hook checkin/discard/suspend operations?
Maybe there is an option to hook these operation from client side?
I just can't believe that you can't make a participant on discard/checkin operations.

Thanks,
Yehiel

permanent link
Michael Valenta (3.7k3) | answered Jan 16 '12, 12:01 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
The idea is that a user's workspace is their personal work area and, as such, process is not enforced on changes the user makes to their workspace. Why do you feel you need process enabled on a user's workspace?

permanent link
Yehiel Glass (25528886) | answered Jan 17 '12, 5:34 a.m.
The idea is that a user's workspace is their personal work area and, as such, process is not enforced on changes the user makes to their workspace. Why do you feel you need process enabled on a user's workspace?


Hi
I need hook for discard operation because I need to discard the outputs on discard operation to the source .
Also, I have difficult to create full code review process. My problems: We want to use review workitem approval for code review process: The developer associate WI to his CS, and before delivering the CS he needs to get approval on WI for his CS. The problem is that the CS is still open after the WI approval and the developer can change his code. If I could complete the CS related to specific WI after change state to specific state it will close the Code Review process for me. Also, If I could hook checkin operation, and on every checkin I will check if the CS is associate to WI in specific state and disable the checkin that also can solve my problem.
I understand we can't create checkin advisor, but is it possible to complete change-set ?
Can you advice?

Thanks,
Yehiel

permanent link
Michael Valenta (3.7k3) | answered Jan 18 '12, 9:28 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
There is some support through advisors for what you are describing but I don;t think they give you everything you are asking for. There is an enhancement request for a "first class" change review. You may want to look them over and add a comment if you don't feel your case is covered by the description or previous comments. Here are links to the request:

https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/82085

There is also a plan item for this:

https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/183398

Your answer


Register or to post your answer.