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

Mandatory work item comments for certain state changes?

Hi,

I'm customising some workflows in one of our project areas. Is there any way to ensure that the user has entered something in the Comments when performing certain actions? For one of our work item types, after an initial "Proposed" state it can be moved to either "Approved" or "Rejected". If it's rejected, I'd like to ensure a comment has been added with the reason for rejecting it.
I already have a "Required Properties" precondition on the Save Work Item (server) operation, but don't see "Comments" in the list of possible required properties. Plus, I'd want to ensure a *new* was added as the state changes, rather than one having been entered at any time previously. Is there any other precondition that can achieve this?


Andy.

0 votes



2 answers

Permanent link
No, there is no pre-defined precondition for this ... you'd have to
implement your own custom precondition.

Cheers,
Geoff

On 1/16/2012 10:53 AM, ats wrote:
Hi,

I'm customising some workflows in one of our project areas. Is there
any way to ensure that the user has entered something in the Comments
when performing certain actions? For one of our work item types,
after an initial "Proposed" state it can be moved to either
"Approved" or "Rejected". If it's rejected, I'd
like to ensure a comment has been added with the reason for rejecting
it.
I already have a "Required Properties" precondition on the
Save Work Item (server) operation, but don't see "Comments"
in the list of possible required properties. Plus, I'd want to ensure
a *new* was added as the state changes, rather than one having been
entered at any time previously. Is there any other precondition that
can achieve this?


Andy.

0 votes


Permanent link

Hi Andrew, Im having the same problem, could you solve it?

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

Question asked: Jan 16 '12, 10:52 a.m.

Question was seen: 4,785 times

Last updated: Sep 03 '18, 12:37 a.m.

Confirmation Cancel Confirm