<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Recent Posts in API | Beast</title>
    <link>http://forum.assembla.com/forums/5/posts</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <atom:link type="application/opensearchdescription+xml" href="http://forum.assembla.com/open_search.xml" rel="search"/>
    <item>
      <title>Problems with trac2assembla.rb script replied by bsag</title>
      <description>&lt;p&gt;Excellent! The script now works beautifully &amp;#8211; thanks so much for fixing it. I&amp;#8217;ve imported all my tickets, attachments and milestones without any issues.&lt;/p&gt;</description>
      <pubDate>Thu, 25 Dec 2008 23:48:05 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3137</guid>
      <author>bsag</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by sromano</title>
      <description>&lt;p&gt;Hi bsag,&lt;/p&gt;


	&lt;p&gt;We have updated trac2assembla.rb script. You can download new version from &lt;a href="https://trac-git.assembla.com/breakout/browser/lib/trac2assembla.rb?format=raw"&gt;here&lt;/a&gt;   It should work now. Thanks for your patience&lt;/p&gt;


	&lt;p&gt;P.S.: We have also updated our &lt;a href="http://www.assembla.com/wiki/show/breakoutdocs/Ticket_REST_API"&gt;Ticket &lt;span class="caps"&gt;REST API&lt;/span&gt;&lt;/a&gt; to return a clearer error next time. The fix will be release soon.&lt;/p&gt;</description>
      <pubDate>Wed, 24 Dec 2008 23:38:11 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3136</guid>
      <author>sromano</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by bsag</title>
      <description>&lt;p&gt;Thanks for the help. It has a been a few hours and nothing yet, so I&amp;#8217;m guessing that nothing was actually imported to Trac (as I suspected) and so nothing got imported to assembla tickets from Trac. I&amp;#8217;ll just hang on for a solution with the trac2assembla.rb script.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 19:45:17 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3123</guid>
      <author>bsag</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by vitaliel</title>
      <description>&lt;p&gt;When you click on import tickets button on trac/svn tab it places a request that is processed by a background job every 10 minutes, please be patient.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 15:46:56 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3122</guid>
      <author>vitaliel</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by bsag</title>
      <description>&lt;p&gt;Yes, I tried that the first time, but it just left a persistent error on the admin pages. I deleted the svn/trac tool and added it again, and tried from scratch to import my trac archive. It looked as if it was processing it then bounced back to the home page without an error, but no tickets had been imported. Just out of curiosity, I tried the button to import trac tickets to assembla tickets. That has created the ticket tool without problems, but again, no tickets. So I&amp;#8217;m a bit stuck! Any help would be very appreciated!&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 15:40:43 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3121</guid>
      <author>bsag</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by vitaliel</title>
      <description>&lt;p&gt;You can resync trac db from assembla trac/svn tab. We have there a button for resync.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 15:23:26 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3120</guid>
      <author>vitaliel</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by bsag</title>
      <description>&lt;p&gt;Thanks for the help. I have also tried the solution you suggested. When I imported the trac archive in trac/admin, it resulted in an error which suggested doing a resync. I did that via the trac/admin tab, but then I got an error every time I tried to edit the admin page. I&amp;#8217;ll try again and see if I can get it to work.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 15:16:56 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3119</guid>
      <author>bsag</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by Assembla_Support</title>
      <description>&lt;p&gt;Thank you for bringing this to our attention.  We will work to get this fixed.&lt;/p&gt;


	&lt;p&gt;In the meantime, you can create a trac/svn tool, import trac archive in the trac/admin tab, then command import trac tickets from the trac/svn tab in your Assembla space.&lt;/p&gt;


	&lt;p&gt;Assembla Customer Service&lt;br /&gt;Email: &lt;a href="mailto:service@assembla.com"&gt;service@assembla.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 14:21:48 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3118</guid>
      <author>Assembla_Support</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>Problems with trac2assembla.rb script replied by bsag</title>
      <description>&lt;p&gt;I&amp;#8217;m trying to import Trac tickets into my newly created space. I&amp;#8217;ve tried running the script, which successfully creates milestones and components before producing an error on the first ticket:&lt;/p&gt;


	&lt;p&gt;== Ticket #1 Error: Bad fields, allowed values: id, number, assigned_to_id, space_id, summary, priority, status, description, created_on, updated_at, milestone_id, component_id, notification_list, completed_date, working_hours, working_hours, custom_fields, acts_as_user_id, user_comment, skip_alerts&lt;br /&gt;trac2assembla.rb:402:in `parse_response&amp;#8217;: Error /spaces/tracks-tickets/tickets (RemoteError)
    from trac2assembla.rb:348:in `post_form&amp;#8217;
    from trac2assembla.rb:120:in `import_tickets&amp;#8217;
    from /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/database.rb:184:in `execute&amp;#8217;
    from /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/resultset.rb:148:in `each&amp;#8217;
    from /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/database.rb:184:in `execute&amp;#8217;
    from /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/database.rb:157:in `prepare&amp;#8217;
    from /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/database.rb:181:in `execute&amp;#8217;
    from trac2assembla.rb:97:in `import_tickets&amp;#8217;
    from trac2assembla.rb:90:in `import&amp;#8217;
    from trac2assembla.rb:518&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve tried restricting the script to the very last row, but that also errors out with the same problem. I&amp;#8217;ve used the &lt;span class="caps"&gt;API&lt;/span&gt; manually (via curl) to verify that I can create a ticket through the &lt;span class="caps"&gt;API&lt;/span&gt;, and that works fine.&lt;/p&gt;


	&lt;p&gt;Has anyone got any suggestions where I might be going wrong? I&amp;#8217;ve got Ruby 1.8.6 (Intel Mac).&lt;/p&gt;


	&lt;p&gt;For what it&amp;#8217;s worth, I&amp;#8217;ve also tried using the import button on Admin &amp;gt; Tools &amp;gt; Tickets to try to import the sqlite3 db, but that just errors out with a 50x error after a while.&lt;/p&gt;


	&lt;p&gt;Any help much appreciated &amp;#8211; I can&amp;#8217;t see what the problem is!&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:45:12 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:1012:3117</guid>
      <author>bsag</author>
      <link>http://forum.assembla.com/forums/5/topics/1012</link>
    </item>
    <item>
      <title>API with PHP replied by vitaliel</title>
      <description>&lt;p&gt;&lt;a href="http://www.google.com/search?q=php+rest+client+examples&amp;#38;ie=UTF-8&amp;#38;oe=UTF-8"&gt;Search for these keywords&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 13 Nov 2008 08:00:01 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:858:2566</guid>
      <author>vitaliel</author>
      <link>http://forum.assembla.com/forums/5/topics/858</link>
    </item>
    <item>
      <title>API with PHP replied by JD Hartley</title>
      <description>&lt;p&gt;Been trying for a while now to get the Asembla &lt;span class="caps"&gt;API&lt;/span&gt; to work with &lt;span class="caps"&gt;PHP&lt;/span&gt; and cURL. Still no luck.&lt;/p&gt;


	&lt;p&gt;I am basically wanting a statement like in the Wiki (shown below) &amp;#8220;translated&amp;#8221; into &lt;span class="caps"&gt;PHP&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;curl -i -X &lt;span class="caps"&gt;GET&lt;/span&gt; -H &amp;#8220;Accept: application/xml&amp;#8221; &lt;a href="http://user"&gt;http://user&lt;/a&gt;:password@&lt;a href="http://www.assembla.com/spaces/my_space_id/milestones"&gt;www.assembla.com/spaces/my_space_id/milestones&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Can someone point me in the right direction? I have never used cURL before, but I know my way around &lt;span class="caps"&gt;PHP&lt;/span&gt; okay.&lt;/p&gt;


	&lt;p&gt;Any help is appreciated! Thanks!&lt;br /&gt;-JD Hartley&lt;/p&gt;</description>
      <pubDate>Thu, 13 Nov 2008 03:57:33 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:858:2563</guid>
      <author>JD Hartley</author>
      <link>http://forum.assembla.com/forums/5/topics/858</link>
    </item>
    <item>
      <title>Add type and keyword via API replied by vitaliel</title>
      <description>&lt;p&gt;Type and keywords are custom fields in integrated tickets, you should specify them as custom fields when creating tickets.&lt;/p&gt;</description>
      <pubDate>Thu, 06 Nov 2008 07:40:03 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:820:2475</guid>
      <author>vitaliel</author>
      <link>http://forum.assembla.com/forums/5/topics/820</link>
    </item>
    <item>
      <title>Add type and keyword via API replied by pramode</title>
      <description>&lt;p&gt;How can I add type and keyword via &lt;span class="caps"&gt;API&lt;/span&gt;.&lt;/p&gt;</description>
      <pubDate>Thu, 06 Nov 2008 05:08:50 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:820:2474</guid>
      <author>pramode</author>
      <link>http://forum.assembla.com/forums/5/topics/820</link>
    </item>
    <item>
      <title>too many message emails replied by dement</title>
      <description>&lt;p&gt;Hi&lt;br /&gt;When I post a message, it gets sent to everyone I&amp;#8217;ve nominated as normal, but it gets sent to me 6 or 7 times. What&amp;#8217;s that?&lt;/p&gt;</description>
      <pubDate>Wed, 29 Oct 2008 21:40:36 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:783:2378</guid>
      <author>dement</author>
      <link>http://forum.assembla.com/forums/5/topics/783</link>
    </item>
    <item>
      <title>Creating tickets with REST-POST under C# replied by asultan</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m trying to achieve the same outcome but I keep getting a WebException saying:&lt;/p&gt;


	&lt;p&gt;The remote server returned an error: (401) Unauthorized.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m assumming that this is because its failing to authenticate my credentials but I&amp;#8217;m not sure what I&amp;#8217;m doing wrong. I&amp;#8217;ve verified the credentials to be correct by logging in through the assembla website with the same credentials and I can view the tickets as well as create new tickets. Is there any setting that needs to be enabled to use the &lt;span class="caps"&gt;API&lt;/span&gt;?&lt;/p&gt;


	&lt;p&gt;This is the code I&amp;#8217;m using:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create("http://www.assembla.com/spaces/our_space/tickets/");
myRequest.Credentials = new NetworkCredential("username", "password");
myRequest.PreAuthenticate = true;
myRequest.Method = "GET";
myRequest.Accept = "application/xml";
using (WebResponse myResponse = myRequest.GetResponse())
using (StreamReader sr = new StreamReader(myResponse.GetResponseStream(), System.Text.Encoding.UTF8))
{
    Console.WriteLine(sr.ReadToEnd());
}&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;</description>
      <pubDate>Wed, 03 Sep 2008 13:51:45 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:358:1430</guid>
      <author>asultan</author>
      <link>http://forum.assembla.com/forums/5/topics/358</link>
    </item>
    <item>
      <title>Users API replied by sdorzak</title>
      <description>&lt;p&gt;That works fine &amp;#8211; thanks!&lt;/p&gt;</description>
      <pubDate>Thu, 31 Jul 2008 17:00:55 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:370:1128</guid>
      <author>sdorzak</author>
      <link>http://forum.assembla.com/forums/5/topics/370</link>
    </item>
    <item>
      <title>Users API replied by vitaliel</title>
      <description>&lt;p&gt;you can pass login parameter instead of ID to best_profile action: ?login=my_team_member&lt;/p&gt;</description>
      <pubDate>Thu, 31 Jul 2008 11:56:05 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:370:1117</guid>
      <author>vitaliel</author>
      <link>http://forum.assembla.com/forums/5/topics/370</link>
    </item>
    <item>
      <title>Creating tickets with REST-POST under C# replied by sdorzak</title>
      <description>&lt;p&gt;just ignore my previous post &amp;#8211; I should read more carefully ;)&lt;/p&gt;


	&lt;p&gt;here&amp;#8217;s the code I used:&lt;br /&gt;&lt;pre&gt;
            HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create("http://www.assembla.com/spaces/SPACE_NAME/tickets/");
            myRequest.Credentials = new NetworkCredential("USERNAME", "PASSWORD");
            myRequest.PreAuthenticate = true;
            myRequest.Method = "GET";
            myRequest.Accept = "application/xml";
            using (WebResponse myResponse = myRequest.GetResponse())
            using (StreamReader sr = new StreamReader(myResponse.GetResponseStream(), System.Text.Encoding.UTF8))
            {
                Console.WriteLine(sr.ReadToEnd());
            }
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jul 2008 19:22:48 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:358:1107</guid>
      <author>sdorzak</author>
      <link>http://forum.assembla.com/forums/5/topics/358</link>
    </item>
    <item>
      <title>Users API replied by sdorzak</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;I want to use &lt;span class="caps"&gt;BEST PROFILE&lt;/span&gt; (GET) &lt;span class="caps"&gt;API&lt;/span&gt; method to retrieve some profile information.&lt;/p&gt;


	&lt;p&gt;How can I get user Id&amp;#8217;s of all my team members?&lt;/p&gt;


	&lt;p&gt;Thanks,&lt;br /&gt;Slav&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jul 2008 14:26:42 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:370:1105</guid>
      <author>sdorzak</author>
      <link>http://forum.assembla.com/forums/5/topics/370</link>
    </item>
    <item>
      <title>Creating tickets with REST-POST under C# replied by sdorzak</title>
      <description>&lt;p&gt;Are you passing credentials with your request?&lt;br /&gt;e.g.&lt;br /&gt;proxy.Credentials = new System.Net.NetworkCredential(user, password);&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jul 2008 14:24:05 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:358:1103</guid>
      <author>sdorzak</author>
      <link>http://forum.assembla.com/forums/5/topics/358</link>
    </item>
    <item>
      <title>Creating tickets with REST-POST under C# replied by Schusta</title>
      <description>&lt;p&gt;I did some further research and found out that the response-URL that I get with the response &amp;#8220;www.assembla.com/user/login&amp;#8221; is. I assume that the authentication fails but I have no clue how to fix this problem :(.&lt;/p&gt;</description>
      <pubDate>Sat, 26 Jul 2008 17:51:06 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:358:1056</guid>
      <author>Schusta</author>
      <link>http://forum.assembla.com/forums/5/topics/358</link>
    </item>
    <item>
      <title>Creating tickets with REST-POST under C# replied by Schusta</title>
      <description>&lt;p&gt;Ah I totally forgot to describe the actual problem: I only get a &lt;span class="caps"&gt;HTTP 200&lt;/span&gt; status code back, no tickets, no 201 &lt;span class="caps"&gt;CREATE&lt;/span&gt; (when attempting to create a ticket).&lt;/p&gt;</description>
      <pubDate>Sat, 26 Jul 2008 17:14:31 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:358:1055</guid>
      <author>Schusta</author>
      <link>http://forum.assembla.com/forums/5/topics/358</link>
    </item>
    <item>
      <title>Creating tickets with REST-POST under C# replied by Schusta</title>
      <description>&lt;p&gt;Hi everyone!&lt;/p&gt;


	&lt;p&gt;I would like to integrate a bug reporting system right in my C#-application using Assembla ticketing but somehow I can&amp;#8217;t manage to create or view the tickets in my space.&lt;/p&gt;


	&lt;p&gt;I hope someone has some experience with C#/REST and can help me.&lt;/p&gt;


	&lt;p&gt;Thanks in advance!&lt;/p&gt;


	&lt;p&gt;Christian Schuster&lt;/p&gt;


	&lt;p&gt;This is the code that I use to retrieve the tickets:&lt;/p&gt;


	&lt;p&gt;Uri assembla = new Uri(&amp;#8220;http://www.assembla.com/spaces/vcb/tickets/&amp;#8221;);&lt;br /&gt;HttpWebRequest request = WebRequest.Create(assembla) as HttpWebRequest;&lt;/p&gt;


	&lt;p&gt;request.Method = &amp;#8220;GET&amp;#8221;;&lt;br /&gt;request.Credentials = new NetworkCredential(&amp;#8220;Username&amp;#8221;, &amp;#8220;Password&amp;#8221;);&lt;br /&gt;request.Accept = &amp;#8220;application/xml&amp;#8221;;&lt;/p&gt;


	&lt;p&gt;using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)&lt;br /&gt;{
    StreamReader reader = new StreamReader(response.GetResponseStream());
    Console.WriteLine(reader.ReadToEnd());&lt;br /&gt;}&lt;/p&gt;</description>
      <pubDate>Sat, 26 Jul 2008 17:12:13 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:358:1054</guid>
      <author>Schusta</author>
      <link>http://forum.assembla.com/forums/5/topics/358</link>
    </item>
    <item>
      <title>Add ticket comments to the API replied by vitaliel</title>
      <description>&lt;p&gt;yes, ticket comments is not accessible with &lt;span class="caps"&gt;API&lt;/span&gt;, we should include them in ticket show action.&lt;/p&gt;</description>
      <pubDate>Sun, 15 Jun 2008 12:30:20 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:177:560</guid>
      <author>vitaliel</author>
      <link>http://forum.assembla.com/forums/5/topics/177</link>
    </item>
    <item>
      <title>Add ticket comments to the API replied by andy</title>
      <description>&lt;p&gt;The &lt;span class="caps"&gt;API&lt;/span&gt; for tickets is great and easy to use, however I do not see a way to retrieve comments on tickets. What am I missing?&lt;/p&gt;</description>
      <pubDate>Thu, 12 Jun 2008 14:07:10 -0000</pubDate>
      <guid isPermaLink="false">forum.assembla.com:5:177:535</guid>
      <author>andy</author>
      <link>http://forum.assembla.com/forums/5/topics/177</link>
    </item>
  </channel>
</rss>
