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

Is there an open method in RTC API to get which workitems are prevent editing?

My work(develop a software work with RTC) need to check if  the work item can edit or not? So I need to get which work items are prevent editing?
I found the RTC API and didn't find a method to get it.

Does anyone know it ? Many thanks

1

0 votes



2 answers

Permanent link
The only API I am aware of that is in this direction is the permission aware API for queries. However, that is only for which items you have (or lack) read access. The work item save evaluates if the work item can be saved during the save, which also includes operational behavior. I doubt there is something like that, especially also covering operational behavior.

0 votes

Comments

Thanks Ralph, I debug the code when I save a work item, and see there will get the behavior configuration but the method are all private or protected. However write my own method to get the configuration of Operation Behavior may so hard cause I am not the RTC Developer. Do you have any suggestion?

Hi, I am sorry, but I have not tried that yet and it might be very hard to do too.

Thanks Ralph.


Permanent link
It seems that RTC doesn't provide Public API to get the Precondition. Now I find another way, that is parse the 'process configuration source' which you can see in the RTC client side when you open the project area of a project.


Thanks for everyone's help.

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
× 460
× 241
× 4
× 2

Question asked: Feb 21 '14, 6:22 a.m.

Question was seen: 8,260 times

Last updated: Apr 17 '14, 3:32 a.m.

Confirmation Cancel Confirm