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

Disable certain work item changes after work item is closed.

Hi,


We use RTC 6.0.6.1 and have enabled the timetracking tab on certain work item types. Any user can track time on any work item (we don't have the "timetracking only by Owner" option enabled).

When a work item is finished (resolved), we want to have the option to disable the timetracking tab so no more time entries can be added on the work item.

This could be linked to a certain status, or to a certain attribute (perhaps by changing the Planned For to an 'archive' iteration) or some other configuration option.

Is there some way to do this? Perhaps using "operation behavior"? 
Any help appreciated!

Kind regards,

Vicky

0 votes


Accepted answer

Permanent link

There is an easier way to do this: you can set the out of the box precondition Disable editing available within the Save work item action. It offers the possibility to disable the work item edition for each state of each work item type.

Ralph Schoon selected this answer as the correct answer

1 vote

Comments

The precondition shows as Prevent Editing in my system.

Thank you Ralph.  I tried to find the right English name of this precondition (named Impedir edición in Spanish), but surprisingly despite that I configured both the browser and the Eclipse interfaces to work in English, this precondition continues appearing in Spanish.

1 vote

I am in Germany, I can tell you how hard it is to get German as language on the server. You need to set your language in the browser and in the server to EN.


One other answer

Permanent link

 Yes writing a pre-condition on server side to stop save for Closed state of a work item shall do the trick, other conditions may be applied as well.

0 votes

Comments

No, you always want to use built in capabilities over creating expensive custom extensions.

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
× 6,125

Question asked: Mar 06 '20, 7:32 a.m.

Question was seen: 1,482 times

Last updated: Jul 15 '22, 4:13 p.m.

Confirmation Cancel Confirm