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

Update workitem description using oslc in an operation Participant.

I want to update workitem description using OSLC code in an Operation Participant on workItem save operation.
How can I do this ....Please any help.

0 votes



3 answers

Permanent link
you should not be using OSLC methods if you are running native java code to build the participant.


0 votes

Comments

How do you build a participant without native java code?

you don't. thats what I said.. if you are already using native java, why try to use OSLC mechanisms.
OSLC is for EXTERNAL integrations.. if you have to build code to be on the inside of some application, then the external stuff is useless.

A couple of reasons one might want to use OSLC mechanisms when implementing an operation participant: - currently, no server side code is external API, which means it is subject to change - the customer might be familiar with writing OSLC code, and would rather not learn a different API for achieving the same results. Note: I'm not recommending the use of OSLC when implementing an operation participant ... in particular, I've heard there are authentication issues ... but just pointing out some reasons why a customer might want to.

1 vote

Hi sam, Can you give me Participant example with source code, how to update comment in workitem page using native java.


Permanent link
working.. you cannot 'update' a comment, they are read only.. you can add another one.

0 votes

Comments

Ok...

How can I add new comment using Participant ...Give me proper example.


Permanent link
I would see this topic,
https://jazz.net/forum/questions/81826/how-an-operation-participant-works

the rest of the Participant looks identical to the Advisor except for the Implements class.

I don't have more time today to work on it.


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
× 516
× 369
× 24

Question asked: Aug 06 '12, 7:02 a.m.

Question was seen: 5,343 times

Last updated: Aug 08 '12, 10:46 a.m.

Confirmation Cancel Confirm