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

Can we set a notification(guideline) before changing the state of the Work item in RTC ?

 Hi Team,


My use case is that, When I change the state of Work Item for in progress to Close,
I wanted to remind user that "please apply for approval if not applicable ignore it" and then close the WI state.

Is it feasible using JAVA API, plugin or any other extension method.
Please suggest.

Best Regards,
Krunal.

0 votes


Accepted answer

Permanent link
When I change the state of Work Item for in progress to Close,
I wanted to remind user that "please apply for approval if not applicable ignore it" and then close the WI state.

Is it feasible using JAVA API, plugin or any other extension method.
It should be quite simple creating a follow-up action on work-item save that:
  1. catch only the change state from In Progress to Close;
  2. add a new warning message to the IParticipantInfoCollector param:
IParticipantInfoCollector collector = ...;
IReportInfo info = collector.createInfo(summary, description);
info.setSeverity(IProcessReport.WARNING);
collector.addInfo(info);
Cheers.
Krunal Gaoli selected this answer as the correct answer

0 votes

Comments

 Hi SEC,


Thanks a lot.
Best regards,
Krunal.


One other answer

Permanent link

What if the users just "ignore" it? Isn't it better to require an approval?
https://jazz.net/help-dev/clm/topic/com.ibm.team.workitem.doc/topics/t_requiring_approvals_for_state_transitions.html

0 votes

Comments

 Hi Donald,

Yes it is always better.

Thanks a lot
Krunal.

 But in my case I wanted to show notification I don't want to make it mandatory since It is just a notification to the user. 

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

Question asked: Sep 15 '17, 1:41 a.m.

Question was seen: 1,725 times

Last updated: Sep 15 '17, 5:32 a.m.

Confirmation Cancel Confirm