rally

Want to copy Rally stories from one project to another

一个人想着一个人 提交于 2019-12-20 02:45:13
问题 I'm trying to copy stories and tasks (and their hierarchies) from one Rally project to another. I only need to copy from one 'template' project so I don't need to make use of the ProjectPicker widget. Simply leveraging the existing app that copies stories and tasks is all that is need but it needs to be able to read from one project and write to another project (the current project you're logged into would be the easiest.) I modified the app so that it can read from a project I'm not logged

How to query for state transitions?

主宰稳场 提交于 2019-12-18 09:15:34
问题 I want to get defects that were transitioned from one state to another (for example Submitted to Fixed) within certain dates. I see that information in the revision history of the defect. In your WS API it says that revisions cannot be queried. 回答1: Here is an example of LookbackAPI query that looks for defects whose state was changed from Submitted (and higher) to Fixed within a certain timeframe: https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/12352608129/artifact

Rally JSON I/O error creating a test case result

最后都变了- 提交于 2019-12-18 06:57:32
问题 I am trying to create a test case result using a REST client, but get this error: "Errors": ["Cannot parse input stream due to I/O error as JSON document: Parse error: expected '{' but saw '\uFFFF' [ chars read = >>>\uFFFF<<< ]"] 回答1: I get the same error when the name of the object, testcaseresult is not specified in the request body. Here are the steps to create a test case result using a browser REST client: a) Generate the authorize key using "GET" method and the following URL: https:/

Creating Reports for Test Cases per Iteration in Rally

我怕爱的太早我们不能终老 提交于 2019-12-14 04:09:58
问题 How can I create reports in Rally for Test cases executed based on Iteration? I am not able to create those reports from Reports tab in Rally. 回答1: Test Cases do not have an Iteration field use in a query. Test Cases are scheduled to an iteration indirectly via Test Sets. Here is an app that builds two grids: a grid of stories and a grid of test sets based on a selection in the iteration dropdown. The TestSet grid has a column that lists Test Cases associated with a given Test Set. Copy and

Rally App SDK: Is there a way to have variable columns for table?

吃可爱长大的小学妹 提交于 2019-12-14 02:15:14
问题 Using the Rally App SDK, is there a way to create a table with a variable number of columns? For example, for a selected release, the columns are the iterations within that release date range, and the rows are each project. I have all of the data I want to display, but not sure how to create the table. 回答1: Here's an example app that dynamically builds a table config with Iteration Names as columns and then adds some dummy data to it. Not too exciting, but it illustrates the idea. <!DOCTYPE

How do I read the attachment content on a Defect

亡梦爱人 提交于 2019-12-13 20:51:26
问题 Using the Rally Java Rest API , after I get the AttachmentContent object, how do I actually get the bytes which hold the content? 回答1: You may find the following example to be useful for what you are wanting to do. It's for a User Story rather than a Defect but the process would be identical for a Defect. import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.rallydev.rest.RallyRestApi; import com.rallydev.rest.request.CreateRequest

Rally Python API

喜你入骨 提交于 2019-12-13 16:22:19
问题 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 call last): File "test_prog.py", line 12, in rally = Rally(server, user, password, workspace=workspace, project=project) File "C:\Python27\lib\site-packages\pyral\restapi.py", line 184, in init self.contextHelper.check(self.server) File "C:\Python27

Is there an example of setting and retrieving settings from a Rally SDK 2 app?

扶醉桌前 提交于 2019-12-13 15:18:04
问题 What does a settings object look like? I can't seem to updateSettings with anything and get something back interesting. I'm printing out this.settings and every time I refresh, it just logs a prototype object with no values. This is what my test app looks like. I am putting it into a panel inside Rally, not running remotely. <script type="text/javascript" src="/apps/2.0p2/sdk.js"></script> <script type="text/javascript"> Rally.onReady(function() { /*global console, Ext */ Ext.define(

can .net application pass the SSO token to java application for calling Rally Rest services?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 07:25:06
问题 I have a java application that is creating reports based on QC data. I want the same application to create reports based on Rally data. However, Rally as of this time has no SSO api for java but .net. So, I was thinking if it is possible for .net to handover the token to java application after SSO authentication so that Java application can use the token when calling the Rest Services. Does anyone have any comment if it is possible? 回答1: This seems overly cumbersome. I would recommend using

Rally SOAP API - How do I add an attachment to a Hierarchical Requirement?

隐身守侯 提交于 2019-12-13 06:32:51
问题 I have followed this code to add attachment to a HierarchicalRequirement . I get the following error: validation error: Attachment.attachments[0] should not be null How do I add an attachment to a Hierarchical Requirement? 回答1: Can you post a code excerpt that illustrates the problem? If you followed the approach in Rally SOAP API - How do I add an attachment to a TestCaseResult you're on the right track. Following is a quick code sample that works for me when adding an attachment to a story: