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

Is it possible to make the Comments field required as part of a state change in RTC?

 I have a customer who wants to make user add a Comment prior to completing a change of the status, Is it possible to make  user required to add a comment?

Please advise. Thanks,

0 votes

Comments

Hello Danial - It's appreciated to share with us if you were able to handle this requirement.

 Everything there is to know is already in the answers. Summary if you are too busy to read the answers:


1. There is no built in functionality to support that
2. You could create a custom precondtion
3. You could use other attributes that actually can be made required


Accepted answer

Permanent link
I do not know of a pre-defined pre-condition that would enforce this, so you'd have to implement a custom pre-condition.
Ralph Schoon selected this answer as the correct answer

1 vote

Comments

 Hi Geoffrey,


Can you please help how can I implement custom pre-conditions please. Are there any tutorials then could you please help me out.

Regards,
Vijay Reddy.

See one of Ralph's workshops, such as:
https://rsjazz.wordpress.com/2014/06/11/running-rtc-4-x-extensions-workshop-with-rtc-5-0/
For specific questions, first do a search on the forum questions.


2 other answers

Permanent link
Hello Daniel,
  May be you would like to explain in details with use-cases. As workaround, i suggest to use the "Discussion" Text box whenever there is change in the status of the work item. you can also sort the comments in any order you like.

Hope this helps.

0 votes

Comments

I think Vijay was looking for a way to make this comment mandatory, i.e. every time I changed the status, I would be required to add a new comment for that status change.

Manoj,

Thanks for the response. Specifically, we want to make the Comment under the discussion Section of the Defect required when entering taking the Resolve action (and entering the Resolve state). In this way, we can require the resolving user to provide a comment in the existing thread.

I tried to load a screenshot, but the Jazz.net site says I need a reputation >60 to upload an image :-(


Permanent link
Hi,
You can create a custom field in the work item called as 'Comments' and make that mandatory whenever it goes to next state.
You can make an attribute mandatory by following these steps:
1. In RTC Eclipse client, go to Team Configuration -> Operations Behavior -> save work item
2. In Preconditions add Required attributes for Type and State. Select the work item and the state for which the 'Comment' attribute has to be made mandatory.

0 votes

Comments

Note that this would work only if there was only a single state that needed a comment, and that when they transitioned out of that state, and then back into it, they didn't need an additional comment.  One could handle different comments for different states by having multiple comment fields, i.e. "done-comment", "open-comment", "verified-comment", but that still would not deal with transitioning multiple times into a given state.

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

Question asked: Apr 06 '15, 4:53 p.m.

Question was seen: 5,138 times

Last updated: Oct 10 '17, 12:45 p.m.

Confirmation Cancel Confirm