Friday, January 25, 2013 10:08 AM
As titled. And I got some posts on the almost same question, but all of them are in windows env. How about on Linux? Both of tfs api and command line are ok for me.
Any help is appreciated.
Monday, January 28, 2013 6:10 AM
I am moving your issue to the Team Foundation Server - Eclipse and Cross Platform forum so that you can get better support there.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Monday, January 28, 2013 3:22 PM
You can use the Java SDK, if you check the snippet samples, there is a snippet called CreateWorkitem that demonstrates this.
Please let me know if you need any help using the SDK.
Monday, February 04, 2013 6:47 AM
I'm wondering whether tf command line can help create workitem/bugs for us. I installed tf tool on linux, but it seems that it can't do this job. Does tfpt work with linux env, and can create workitems/bugs?
- Edited by pcdevelop Monday, February 04, 2013 6:48 AM
Monday, February 04, 2013 8:33 AM
Now, I'm trying to use tfpt to create create workitem via following command, but it failed with "Unknown field: Title" .
tfpt.exe workitem /new "Cloud"\Bug /collection:http://tfs:8080/tfs/tpcollection /fields:"Title=tfpttest;Assigned To=sam"
While I can create bugs in Team Explorer successfully. Anything wrong about above command? Where can I find all the fields about creating a bug? Thanks a lot!
Monday, February 04, 2013 2:59 PM
The TEE TF command line does not support any work item commands. tfpt does not work on Linux.
Monday, February 04, 2013 3:17 PMOwner
I'm afraid that we do not have a command line to create work items from Linux. You can do this via the TFS SDK for Java if you wanted to do something programmatically.
There is example code in the SDK download if you wanted to take a look.
Let me know how you get on.
Monday, February 04, 2013 3:18 PMOwner
Hey - if you still need help on the tfpt.exe question let me know and I can send it over to the power tools forum to get someone to help there.
Tuesday, February 05, 2013 1:06 AM
Now I got another error: TF237124: Work Item is not ready to save. Can you help me on this? Thanks.
The command I ran is: tfpt.exe workitem /new "Cloud"\Bug /collection:http://tfs:8080/tfs/mycollection /fields:"System.Title=tfpttest;System.AssignedTo='Sam';System.Description='Good Tool'"
Did I miss some required parameters?