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

OSLC How to create a Workitem with a Link in one step?

 Hi,

is it possible in one step to create a Workitem with OSLC and include a Link (tracksRequirement) to an Artefact?
The creation of the Workitem work but I'm not able to have a link to an Artefact.
BTW, I can't include my OSLC POST example

If it is not possible in one step...I tried also PUT after the WI creation with no luck.
Thx

Steve

0 votes



One answer

Permanent link
 Hi,

the problem was:
* The available OSLC Examples are not "uptodate", i.e. some of the xmlns are now different
* You have to include all xmlns, even if you don't use them.

A new problem is now that the included Links from a new created Workitem to an Artefact are not bidirectional...only "oneway"
:-(

Steve

0 votes

Comments

When you add a link to a work item in the Web GUI, the POST action is to call an "addLink" command with a parameter "additionalSaveParameters" as "com.ibm.team.workitem.common.internal.updateBacklinks". You can imagine that this is in fact a two-step operation. I believe when you call OSLC directly, you lose this feature and need to add the back link manually.

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,940

Question asked: Jan 10 '15, 12:21 p.m.

Question was seen: 3,465 times

Last updated: Jan 12 '15, 12:45 a.m.

Confirmation Cancel Confirm