Quantcast

Advice for programmatic creation of tracker issues

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Advice for programmatic creation of tracker issues

Hancock, David (dhancock)
I am working on a way to get SurveyMonkey survey data into Roundup programmatically. I am using SurveyMonkey's API to get the information out (using Python), and my next step is to create the new issues for each completed survey.

Roundup 1.5.0 on Linux, lightly customized with templates and detectors.

I have looked at the roundup-admin, roundup-mailgw, and roundup-xmlrpc documentation and have found an RSS-to-issue converter on the Roundup Wiki. But I remain a bit befuddled, and could use some advice.

My intended approach is fairly simple, except for the "getting it into Roundup" part:

1. Create issue with very short initial change note, and populate a few other fields (contact information and assigned-to, mainly).

2. Add a single followup change note with (a lot) more information. This change note will have multiple lines.

If anyone has a pointer to an existing script that could be customized and/or advice as to what the best tool is for getting started (roundup-admin, roundup-mailgw, etc.), I'd be grateful to hear it. I have full access to the machine on which Roundup runs, and intend to run this as an hourly cron job.

Thanks for any advice you can offer.

Cheers! 
-- 
David Hancock | [hidden email] 

------------------------------------------------------------------------------

_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Advice for programmatic creation of tracker issues

R. David Murray
On Sun, 22 Nov 2015 14:57:10 +0000, "Hancock, David (DHANCOCK)" <[hidden email]> wrote:
> I am working on a way to get SurveyMonkey survey data into Roundup
> programmatically. I am using SurveyMonkey's API to get the information
> out (using Python), and my next step is to create the new issues for
> each completed survey.

For what you describe using the mail gateway may be the easiest.  The
other thing to look at would be the xmlrpc interface.  You can only use
roundup-admin if the script runs on the roundup machine and has
permission...it sounds like it could in your case, in which case that
would also be a fine way to go.  Finally, if your python script is
running on the roundup server you *could* talk to roundup directly in
python It really just depends on what you are most interested in
writing, and whether or not you want the script to be *able* to work if
it can't have access to the roundup server (ie: if you are planning
on sharing it and want to support that mode of operation.)

I don't think there's an obvious "best answer" here.

--David

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Advice for programmatic creation of tracker issues

Tonu Mikk
I have a somewhat similar need.  By accident I found a script called "import_sf.py" in roundup/scripts directory.  The scripts imports Salesforce issues into Roundup.  It has good documentation in the comments and helped me understand the process. Hope it helps you as well.  

On Mon, Nov 23, 2015 at 9:29 AM, R. David Murray <[hidden email]> wrote:
On Sun, 22 Nov 2015 14:57:10 +0000, "Hancock, David (DHANCOCK)" <[hidden email]> wrote:
> I am working on a way to get SurveyMonkey survey data into Roundup
> programmatically. I am using SurveyMonkey's API to get the information
> out (using Python), and my next step is to create the new issues for
> each completed survey.

For what you describe using the mail gateway may be the easiest.  The
other thing to look at would be the xmlrpc interface.  You can only use
roundup-admin if the script runs on the roundup machine and has
permission...it sounds like it could in your case, in which case that
would also be a fine way to go.  Finally, if your python script is
running on the roundup server you *could* talk to roundup directly in
python It really just depends on what you are most interested in
writing, and whether or not you want the script to be *able* to work if
it can't have access to the roundup server (ie: if you are planning
on sharing it and want to support that mode of operation.)

I don't think there's an obvious "best answer" here.

--David

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users



--
Tonu Mikk
Adaptive Technologist | Disability Resource Center | diversity.umn.edu/disability
University of Minnesota | umn.edu 
[hidden email] | 612-625-3307

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Loading...