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
2
votes
1 answer

How to connect Rally API (python) to the specific reports under 'Report' section

I have been working on developing a Rally API using python with the help of links pointed by Rally help (Pyral). My code connects well with the Rally server and pulls specific user story I want, but not the columns I am interested in. I am aiming to…
Garry
  • 21
  • 4
2
votes
1 answer

How to update steps of Test Cases in Rally by using the Python API (pyral)

Thanks to the great documentation online for Rally API, I know how to create test steps and update a defect/test case. A similar question has been asked and answered regarding usage with ... However, I did not succeed updating a test step by using…
Jean-Francois T.
  • 11,549
  • 7
  • 68
  • 107
2
votes
1 answer

How to get a story changelist using Rally python API?

How to get the list of changes made to a Story or Defect in Rally? for r in rally.get('User Story', fetch=True, query=""): print r.Changesets r.Changesets seems to always be an empty collection. I also tried the rally.get('Revision'...)…
sorin
  • 161,544
  • 178
  • 535
  • 806
2
votes
2 answers

Adding attachments to TestCaseResults using pyral 0.9.3

I'm trying to add an attachment to a testcaseresult using pyral like this: testCaseResult = rally.create('TestCaseResult', {'TestCase': tc.ref , 'Build': revision, 'Verdict': verdict[test.result], 'Date': resultdate,…
kimon
  • 2,481
  • 2
  • 23
  • 33
2
votes
1 answer

How do you update a Rally Project's State via the REST API?

We have created and closed a large number of Projects in Rally over the years. Because you can't actually delete Projects entirely, I've found the need to re-open the closed Projects, modify some artifacts, and reclose the project. A simple example…
Michael Cramer
  • 5,080
  • 1
  • 20
  • 16
2
votes
3 answers

Rally Python API

I am trying to get to my company's Rally subscription using the Python toolkit following the instructions at http://developer.rallydev.com/help/python-toolkit-rally-rest-api However, I am running into the following error. Traceback (most recent…
anbhat
  • 427
  • 4
  • 12
1
vote
1 answer

how to get all user stories and defects linked with milestone via pyral

I am trying to get all user stories and defect attach with particular milestone in rally and I'm using pyral. I can't find any documentation or any example of it. Any help will we appreciated.
Rajnish Tyagi
  • 47
  • 1
  • 6
1
vote
0 answers

AgileCentral:: Pyral: Throws error:: Multiple work spaces found with the same name. You must specify a work space with a unique name

I have 3 work spaces in Agile Central(rally). i want to pull all the projects from the 2 work spaces out of these 3. I am using pyral python package. Below is the code snippet: from pyral import Rally return Rally(server='rally1.rallydev.com',…
1
vote
2 answers

pyral deleteAttachment to delete attachment from a Test Case definition not working

I'm trying to delete the attachments from a Test Case definition on Rally using pyral: del_attachment = rally.deleteAttachment('TestCase',filename) any suggestions, what is going wrong ?
saumya
  • 13
  • 3
1
vote
0 answers

How can I delete using pyral

I want to delete UserIterationCapacity from Rally. The Syntax provided is delete(entityName, itemIdent, workspace=None, project=None). How to I provide the Item Identifer or itemIdent? I know the details of the record I need to delete is below. oid …
1
vote
1 answer

How to find rally workspace and project name for pyral connection

How to find workspace and project name in rally for pyral arguments Pyral documentation was not clear import sys from pyral import Rally, rallyWorkset server = "rally1.rallydev.com" user = "xxx" password = "zzz" workspace = "" project = "" rally =…
Aki Lan
  • 87
  • 1
  • 8
1
vote
0 answers

How to get Rally Stories in closed Projects using pyral

Is there a way to get Rally Stories for closed Projects using the pyral Python library? When using rally.get(...) Stories in closed Projects aren't being returned. Here is the code being used: from pyral import Rally rally = Rally(...) rally_id =…
Aaron Lelevier
  • 19,850
  • 11
  • 76
  • 111
1
vote
1 answer

pyral get function does not return any results

I installed pyral and try to retrieve a ticket from Rally, but no results are being returned. This happens in both Windows and Linux, and in both Python 2 and 3. >>> import pyral >>> r = pyral.Rally(apikey=apikey, project=projname) >>>…
twasbrillig
  • 17,084
  • 9
  • 43
  • 67
1
vote
1 answer

Rally APIKEY with single sign using Pyral

Using Rally APIKEY in a single sign on environment with a proxy throws error that it can not reach rally1.rallydev.com- Tried setting HTTPS_PROXY As well, No result. I can reach from browser and it auto signs me up via single signon. Did anyone try…
ram
  • 11
  • 2
1
vote
1 answer

Elasticsearch - find exists index patterns

I'm using Python script that fetch data from Rally API, manipulate it and send to Elasticsearch. I'm trying to figure how to find my exist index/s in script code. My ES instance is quite simple: es = Elasticsearch([{'host': 'myIP', 'port':…
Aviv Cohen
  • 69
  • 6