It's all about the answers!

Ask a question

How to call oslc consumer code ?


Sudeshna Mitra (2332831) | asked Aug 03 '12, 1:54 a.m.
edited Aug 03 '12, 12:14 p.m. by Seth Packham (1.4k42213)
Hi,

I want to call OSLC consumer java code on save of Work Item .
How Can I call ?
or How to execute OSLC consumer java code on Save of Work Item.

2 answers



permanent link
Daniel Pool (2644) | answered Aug 08 '12, 3:02 a.m.
JAZZ DEVELOPER
You should be able to do that through a follow up action. This requires you to write a plugin and install it to your server.

You can read about follow up actions here:
https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation



Comments
Sudeshna Mitra commented Aug 08 '12, 8:31 a.m.

Thanks for reply,

Can you plese give me working example which explains  how to update workitem page like adding description .

permanent link
sam detweiler (12.5k6195201) | answered Aug 08 '12, 7:21 a.m.
why do you want to do this? what is the use case? 

OSLC is intended for use when you are running code OUTSIDE the server.

others have noted that doing this appears to start another 'transaction', and runs into synchronization problems.

Your answer


Register or 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.