It's all about the answers!

Ask a question

How to update a Work Item Programmatically using Json . The work item has custom Attribute . Please Give Working Example in detail .


PRASANTA CHAUDHURI (11031525) | asked Jun 01 '15, 5:30 p.m.

How to update a Work Item Programmatically using Json . The work item has custom Attribute . Please Give Working Example in detail .

I followed the example in wiki -- It is not working .

Can someone help me on this .

Thanks

PKC

One answer



permanent link
Donald Nong (14.4k314) | answered Jun 02 '15, 2:16 a.m.
I have to always ask what "not working" means. Without further information, it's very difficult for others to help you.

I would suggest you follow this article first.
https://jazz.net/library/article/1001

Once you get familiar with it, change the format from RDF/XML to JSON (change HTTP header "Accept: application/rdf+xml" to "Accept: application/json") and go through the article once more.

When you get more familiar with it, you can go through this article.
https://jazz.net/library/article/1206

It's a good idea to keep the specification handy at all time.
https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20

Your answer


Register or to post your answer.