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

work item customization: Attributes computed

Can I have an computed attribute that represents how many time I set the
status of a work item to a certain value ?
For instance, how many time a work item was reopened ?

--
Christophe Elek
Jazz L3
IBM Software Group - Rational

0 votes



3 answers

Permanent link
Hi
I can see two possibilities:
A) Compute the value when needed: You can look at all item states of the work item and count how often it was in the desired workflow state. This means nothing is stored in the work item, but the value is computed on-the-fly
B) Use a Precondition/Follow-up action (not sure which one, you would have to be able to change the workitem from that so I think Precondition could work better) and, whenever the work item is saved with a workflow action leading to the desired workflow state, inrease the value of your count attribute on the work item.

Regards

Marcel
Jazz Work Item team

0 votes


Permanent link
marcel_bihr@ch.ibm-dot-com.no-spam.invalid (zrlmbi) wrote in news:h31k56
$a4k$2@localhost.localdomain:

B) Use a Precondition/Follow-up action (not sure which one, you would
have to be able to change the workitem from that so I think
Precondition could work better) and, whenever the work item is saved
with a workflow action leading to the desired workflow state, inrease
the value of your count attribute on the work item.



Thx Marcel,
for that I need to develop my own precondition ? (meaning the java code tha
twill be called ?)

--
Christophe Elek
Jazz L3
IBM Software Group - Rational

0 votes


Permanent link
Hi Christophe
Yes, this means Java code contribution.

Also for A) you would need to contribute Java code for the presentation.

Regards

Marcel
Jazz Work Item team

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: Jul 07 '09, 8:25 a.m.

Question was seen: 4,603 times

Last updated: Jul 07 '09, 8:25 a.m.

Confirmation Cancel Confirm