Questions tagged [pyral]

Python toolkit for Rally REST API

The pyral package enables you to push, pull and otherwise wrangle the data in your Rally subscription using the popular and productive Python language. The pyral package provides a smooth and easy to use veneer on top of the Rally REST Web Services API using JSON.

69 questions
0
votes
1 answer

"&" causes: pyral.context.RallyRESTAPIError: Specified workspace either does not exist or the user does not have permission to access that workspace

I'm using pyral to connect to our Rally instance, and I keep running into this error with two specific Workspaces. An AJAX call is made to a PHP function, which calls: exec('/usr/bin/python query.py --rallyWorkspace="'.$data['workspace'].'"…
DanTheMan
  • 556
  • 2
  • 7
  • 21
0
votes
1 answer

Rallydev API pyral: Is there way to get all defects by Formatted ID in one query?

I have a list of defects with different IDs. I need to go thru the list and gather fixed / verified defects to separate list. Could you please advise if there is a way to make in one query (e.g. send a tuple in query) instead of each time send a…
user2738882
  • 1,161
  • 1
  • 20
  • 38
0
votes
1 answer

Rally python api - Adding a Tag to an entity?

I wanted to use pyral to add tags to defects and I couldn't figure out how to do it info = dict(test_id="ABC", platform="AAA") tag1 = rally.create('Tag', dict(Name=info['test_id'])) tag2 = rally.create('Tag', dict(Name=info['platform'])) what's…
Fruch
  • 408
  • 5
  • 18
0
votes
1 answer

Rally Python Api: Set Author of a Defect Update

Is there a way for a defect to be updated with Pyral and show the author of the change to be another user other than the user id used to log into Rally? Here's what I've tried, but it doesn't work: rally = Rally(server, user,…
edwin.greene
  • 139
  • 3
  • 9
0
votes
1 answer

How to create pyral configuration file in rally development?

I am trying to use python REST API to access the contents from Rally. In read me, they mentioned to use a configuration file for server name, user credentials, etc. Where can i create a configuration file and what are the contents that i need to put…
user537644
0
votes
1 answer

pyral module got an unexpected keyword argument 'verify'

I am new to the pyral module. I tried the demo code and I cannot get past the call to Rally. rally = Rally(server, user, password, workspace=workspace, project=project) I also tried. rally = Rally(server, user, password, workspace=workspace,…
0
votes
3 answers

Rally APIs: How to copy Test Folder and member Test Cases

This question was asked by a different user earlier: Copying Test Cases and Test Folder using Rally Python or Ruby API [closed] but closed by moderators as being an overly broad question. However, given the inability to copy Test Folders and their…
user984832
-1
votes
1 answer

Pool apply function hangs and never executes

I am trying to fetch Rally data by using its python library pyral. Sequentially the same code works, but its slow. I thought of using python multiprocess package, however my pool.apply method gets stuck and never executes. I tried running it in…
1 2 3 4
5