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

To get workitem ID in c# MVC code

after creating the workitem, i am able to know the workitem ID in the ALM , where can i write code in c# code to knw the number when it is created using MVC C#

0 votes



One answer

Permanent link

What data you get is described in the API description of the API you use. If you use some  web API to create a work item, e.g. a POST you would get a response header and body back. The body would contain the information you need to get the item (or even the item). Either the ID is there or you need to GET the item and all its properties and find it in there. 

0 votes

Comments
i am creating the workitem through cURL command running the batch file from C# code , i have developed web application using MVC5 architecture  , where my code contains execute method where i am passing the parameters like batch file, user , password, and file
where to get the ID ? i want to display the Workitem Number in the web page
i have used REST API to get the data

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
× 102
× 17
× 13

Question asked: Jan 31 '20, 4:02 a.m.

Question was seen: 1,938 times

Last updated: Feb 04 '20, 11:56 p.m.

Confirmation Cancel Confirm