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

Inconsistent behavior of work item save operation behavior

We have a custom attribute of enumeration type which is incremented whenever the work item is moved to closed state. To perform this action, we have a save work item operation behavior with dojo script that gets the count and incremented if the work item is moved to closed state. 


We see that the attribute is not incremented all the time i.e., the behavior is inconsistent. 
When we perform one of the two steps below, the issue will be resolved:
a. Restart the RTC server
(or) 
b. Make the attribute read-only from Types and attributes for the work item, save the change, make the attribute read-write again.

But the issue re-occurs after some time even though no changes are made to the script or process configuration.

What are the probable causes of such a problem ?

0 votes


Accepted answer

Permanent link

a. Verify the behavior is seen in any other projects with the same operation behavior. Also, verify the script conditions are correct and the attribute ids, work item states, etc., are correctly mentioned in the script.

b. Review the RTC logs to see if there are any issues with the other scripts in the project area. 
   >> Any error in a script invalidates all the scripts on the project. Track down if any failing scripts are present and ensure they are not throwing errors. When empty scripts or scripts that cannot be parsed or throw errors exist, the results of all customizations are unpredictable, even unrelated scripts.

Hope this helps!

Ralph Schoon selected this answer as the correct answer

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: Nov 27 '19, 10:41 p.m.

Question was seen: 1,145 times

Last updated: Nov 27 '19, 10:46 p.m.

Confirmation Cancel Confirm