rally

Rally Lookback API for C#

谁都会走 提交于 2019-12-10 20:58:46
问题 I’m having a hard time finding any information on how to retrieve snapshot data using the Rally REST API. I noticed there is a Lookback toolkit for Java, but I am coding in C#. In particular, I would like to retrieve Schedule State changes over time for Stories (aka Requirements). Any related example would also be very helpful. Thank you, -Phil 回答1: There is currently no built-in support for Lookback API in .NET REST tookit and in Java REST toolkit. See also this post As an imperfect

How to create a Task belonging to an Iteration using Rally Api and .NET

混江龙づ霸主 提交于 2019-12-10 20:08:42
问题 I am new to the Rally API and just having some trouble creating a Task using the Rally.RestApi library. I need to create a Task (using .NET) and associate it with a User Story (in which the User Story belongs to a certain Iteration). Do I have to get the User Story first, then add a Task to it? How would I do that? Thanks. 回答1: All objects in Rally have a unique url called a ref. You just need the story's ref to associate the two: RallyRestApi restApi = new RallyRestApi("myuser@company.com",

RallyDev: Unable to create defect. Server says “Cannot parse input …”

丶灬走出姿态 提交于 2019-12-10 19:18:43
问题 Original Post: I'm trying to create defects programmatically. I am getting a couple errors and having trouble getting any further. Here, essentially, is the code: import requests, json rally_auth = ('my_user', 'my_pw') rally_auth_url = 'https://rally1.rallydev.com/slm/webservice/v2.0/security/authorize' rally_defect = 'https://rally1.rallydev.com/slm/webservice/v2.0/defect/defect' workspace_ref = 'https://rally1.rallydev.com/slm/webservice/v2.0/workspace/12345' fe_project_ref = 'https:/

Using the Rally REST API, how can I get the non-API (website) URL for a user story?

▼魔方 西西 提交于 2019-12-09 17:44:09
问题 I'm using the Rally REST API to integrate user story data from Rally into another application. I have no trouble retrieving the user story data from Rally, however, I would like to provide a hyperlink for the users of the other application to click on to go to that user story within the Rally GUI (not using any API's). For example, the URL for a user story using the REST API is something like: https://www.rallydev.com/slm/webservice/1.30/hierarchicalrequirement/{ID} whereas the URL that a

Migrating from Rally API 1.43 to 2.0 - Object Model

こ雲淡風輕ζ 提交于 2019-12-08 07:27:19
问题 I have inherited some custom java code that uses the Rally Java API v1.43 to query Rally, create and update stories. As I understand it, we created Java classes for the Rally Object model using wsdl2java that is described Here. Our code heavily uses these classes throughout. Now that I have to upgrade to Rally v2.0 API, I do not understand whether I can easily leverage the code we already have based on these concrete classes or if I need to re-write everything to directly work with the JSON

How to add ComboBox to settings gear menu in Rally app

南楼画角 提交于 2019-12-08 04:18:51
问题 Currently I'm working on an app that displays a chart of defects. The chart is to be filtered by a selection of checkboxes that the user can change around to fit his / her needs. These checkboxes are located in the gear menu of the app, under 'settings'. In App.js I have a function that looks like this: getSettingsFields: function() { return [ { xtype: 'fieldcontainer', fieldLabel: 'States', defaultType: 'checkboxfield', items: [ {...} ... ] } ]; } This function works perfectly so far and

RevisionHistory and Revisions

本小妞迷上赌 提交于 2019-12-07 13:32:51
问题 I am trying to get into the revision history, but I am unsure how to get to it. No matter what I do, it returns null. Relevant code is below: string objectType = "HierarchicalRequirement"; string orderString = ""; bool fetchFullObjects = true; long start = 1; long pageSize = 200; QueryResult queryResult = Global.service.query(Global.workspace, objectType, queryString, orderString, fetchFullObjects, start, pageSize); int cnt = 0; for (int i = 0; i < queryResult.Results.Length; i++) { //

How to add Tags to a TestCase in Rally using Rally's JAVA API?

余生颓废 提交于 2019-12-07 09:21:13
问题 I have been struggling with adding a tag to a testcase in Rally. The tag is already present in the Tags collection. But I cannot add it to a testcase. Can some provide an example about how to do this? Thanks a lot. 回答1: Here's an example of how to do this - the example shows both adding Tags to an existing Test Case, as well as creating a new Test Case and adding Tags to the new one. public class RestExample_AddTagsToTestCase { public static void main(String[] args) throws URISyntaxException,

RevisionHistory and Revisions

牧云@^-^@ 提交于 2019-12-06 04:33:00
I am trying to get into the revision history, but I am unsure how to get to it. No matter what I do, it returns null. Relevant code is below: string objectType = "HierarchicalRequirement"; string orderString = ""; bool fetchFullObjects = true; long start = 1; long pageSize = 200; QueryResult queryResult = Global.service.query(Global.workspace, objectType, queryString, orderString, fetchFullObjects, start, pageSize); int cnt = 0; for (int i = 0; i < queryResult.Results.Length; i++) { // Results array is of type "DomainObject" DomainObject rallyobject = queryResult.Results[i];

Rally: Java: I have few test folders inside a test folder and all folders have test cases. How to get all the test cases using java api

你说的曾经没有我的故事 提交于 2019-12-06 04:32:18
In a rally project, I have the test folder structure as below TestFolderParent1 testcase1, testcase2..... testcase5 TestFolderChild1 testcase10, testcase11..... testcase15 TestFolderChild2 testcase20, testcase21..... testcase25 Am using java api to filter as below: QueryRequest testSetRequest = new QueryRequest("TestCases"); testSetRequest.setFetch(new Fetch(new String[] { "Name","FormattedID"})); testSetRequest.setQueryFilter(new QueryFilter("TestFolder.Name", "=", "TestFolderParent1")); If I print all the test cases from the response.. it gives only testcase1, testcase2..... testcase5 How to