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

the current Workspace |ABC| does not contain a Project that matches the current setting of the Project: None

Am trying to connect to Rally API through pyral, but am getting "the current Workspace |ABC| does not contain a Project that matches the current setting of the Project: None" Here is my command : rally=Rally(server='rally1.rallydev.com',…
prabhakar Reddy G
  • 1,039
  • 3
  • 12
  • 23
3
votes
2 answers

pyral Error "pyral.context.RallyRESTAPIError: SSL certificate verification failed"

Attempting to access rally1.rallydev.com through the Web Services API v2.0 with pyral 1.1.1 and ActivePython 2.7.10.12 (ActiveState Software Inc.) from behind a corporate file wall. I receive the error “pyral.context.RallyRESTAPIError: SSL…
Les
  • 49
  • 2
3
votes
1 answer

Pyral+create new Task +ValueError: No JSON object could be decoded

New to pyral, trying to add a task to a user story. Copy pasted already available, "seems working" code from net. code: target_story = rally.get('UserStory', query='FormattedID = %s' % storyID, instance=True) info = { "Project" …
vinay
  • 31
  • 2
3
votes
1 answer

Getting error "RallyRESTAPIError: 422 Not authorized to perform action: Invalid key" when trying to create Rally test case

The code below works fine before until I try it today: ... tc_data = {'Description': 'Test Case Dummy', 'c_QATCPARAMSTEXT':…
Ray
  • 45
  • 3
3
votes
1 answer

Adding Tasks to Rally via Pyral

I'm fairly new to Rally and have been testing it out. I've been looking at their python framework for working with their API. Unfortunately, within the documentation I cannot find a way to add tasks. Has anyone ever worked with this before, or can…
2
votes
1 answer

Getting all the test cases inside the test folder using Pyral api

I have used pyral api rally = Rally(server, apikey=api_key, workspace=workspace, project=project) to connect to rally Than , testfolders = rally.get('TestFolder', fetch=True, query=query_criteria) I need to extract all the test cases defined…
2
votes
1 answer

how to fetch testplans from rally through python pyral API

I am trying to fetch test-plan details from Rally tool. We have user-story,defects,release arguments to fetch respective data. I want to understand how to fetch test plans from rally through python pyral API
2
votes
1 answer

how to resolve concurrency conflict for bulk create in Rally using REST API using python

I am trying to create >100 items as AllowedAttributeValue using WSAPI in Rally from python without pyral. Input is from a input file. Code - for line in inputFile: body = {} try: r = requests.post(url, headers=headers,…
Sujoy
  • 1,186
  • 1
  • 9
  • 12
2
votes
2 answers

PyRal getAttachment

I have a fairly simple use-case but i'm not understanding the error message i'm receiving. I'm using the requests and pyral modules, pyral (http://pyral.readthedocs.io/en/latest/interface.html#) is really just a wrapper for Rally's Restful api. My…
sc305495
  • 249
  • 3
  • 11
2
votes
1 answer

Add tag to a Rally Defect using python pyral

I am trying to create Rally defect using pyral python package. Need to add a tag "#TestTag2". Is there a way to add Tag at the time defect is created? I am trying to add tag after the defect is created. But getting following error - info =…
2
votes
1 answer

Python CA Rally API Pyral - User Stories not being found in child projects

When trying to query User Stories, after updating to pyral version 1.4.1, it no longer find user stories in child projects. entity = "UserStory" query = '(FormattedID = "US3375")' rally.get(entity, query=query) That userstory is found in a…
Stuart Cox
  • 61
  • 6
2
votes
1 answer

PyRal Rally Specific queries work but generic queries not returning data

When I use the PyRal get() function no results are returned, but if I use specific built-in get functions (e.g., getProjects(), getWorkspaces()) all data is returned correctly. Am I using the general get() incorrectly or do I have a configuration…
2
votes
2 answers

Getting object reference for Rally Feature(Rally API, pyral) instead of data. How do I get to the data for PortfolioItem/Feature?

I'm getting object references(Feature) for some of the Rally records I'm trying to yield out to a csv. Does anyone know the Rally api syntax to get to the record of the PortfolioItem/Feature data? Thanks in advance. Here is my Python code…
shpfrmr
  • 21
  • 3
2
votes
1 answer

Using Pyral package with Komodo ide

I'm using Python, write down in Komodo IDE, to create toolkit that works with CA agile central API service(Rally) - Rally for Developer. When using GET HTTP request, I encounter with several problems: 1. Fetching partial records - if I set FETCH…
Aviv Cohen
  • 69
  • 6
2
votes
1 answer

How to get userstories from a Project - Pyral

I am trying to fetch all the UserStories of a specific Project (say project 'Bolt' in workspace 'ABC'). After the connections are set (using username, password and server) and my workspace is set to a default workspace. I navigate to a different…
Ejaz
  • 1,504
  • 3
  • 25
  • 51
1
2 3 4 5