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

Checkbox java api

How to activate a checkbox in a work item in java?

0 votes



One answer

Permanent link
There is no such public API. You can use the Admin UI to add a checkbox presentation.

0 votes

Comments

PS: You can try to debug how the internal Eclipse client API does this, if you want. However it is almost certainly not public API that you should use. The information is in the process configuration source.

I want to create a work item in java and pass the values for parameter, can not pass the checkbox

There is no parameter type checkbox. If you look into the types of the attributes and into the process configuration you will likely find something like boolean. Dependent on what type the attribute has, you have to pass the correct object e.g. a Boolean with a value.

Consider looking at the code in https://rsjazz.wordpress.com/2015/11/03/a-rtc-workitem-command-line-version-3-0/ or read the value of the attribute and check its type in the debugger or using Instanceof.

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
× 10,938

Question asked: Jul 05 '16, 5:35 a.m.

Question was seen: 1,607 times

Last updated: Jul 05 '16, 7:07 a.m.

Confirmation Cancel Confirm