rally

Rally SOAP API - How do I add an attachment to a TestCaseResult

蓝咒 提交于 2019-12-25 08:31:25
问题 I have figured out how to add an attachment to TestCase, Defect objects, but I can't, using the same mechanism, seem to attach a test result file to a TestCaseResult object. I am getting an error message of "validation error: Attachment.attachments[0] should not be null". I've tried attaching during the creation of the test result as well as updating an existing, previously created, test result. I would be surprised if attaching a test result file to a TestCaseResult is not supported as this

SDK 2: Example of a settings dialog

孤者浪人 提交于 2019-12-25 05:24:07
问题 Do you have an example posted of a SDK 2 app that adds an entry to its "Gear" menu and allows the user to save settings to a preference object via a dialog window? 回答1: The short answer is that right now that is not possible. We are trying to figure out the best way to allow users to interact with setting from inside of a custom App. Since each App is sandboxed inside of an IFrame no App code can interact with the gear menu (since it is outside of your frame). In the future we are looking

Refreshing a rallychart

六月ゝ 毕业季﹏ 提交于 2019-12-25 04:45:17
问题 I have a Rally SDK 2.0p5 app that displays a chart. When the user selects an option, the data will be updated and I would like to refresh the chart. But instead of redrawing, it will place a new chart beneath. What is the proper syntax? // Configure and Add the chart this.add( { xtype: 'rallychart', height: 400, id: 'chart', chartConfig: { chart: { }, title: { text: 'My Chart', align: 'center' }, xAxis: [ { categories: ['M0','M1','M2','M3','M4','M5'], title: { text: 'Interval' } } ], yAxis: {

Rally webservices api v 1.36 <OperationResultError>Could not update: Could not write changes in Unit Of Work</OperationResultError>

橙三吉。 提交于 2019-12-25 01:25:13
问题 I am using rally webservices api v 1.36 and I am getting this error when I try to create a new rally item.Could not update: Could not write changes in Unit Of Work. Code was working fine a week back but now it is not working. I am using ruby gem rally_rest_api. Thanks in advance. 回答1: Try to use an equivalent curl command or hit the endpoint using a browser REST client to see if you get the same error. Use the current v2.0 of WS API. If you get the same error, post your create URL here,

Using Rally WsapiDataStore at a certain date

半城伤御伤魂 提交于 2019-12-24 21:30:26
问题 I want to create a chart of how many tasks are in a given Schedule State during the length of the sprint. Is it possible to call WsapiDataStore on each day? 回答1: What you are looking for is a lookback Snapshot Store , using the Lookback API - this allows you to specify a date or a point in time that you want to query by. A typical use looks like this: Ext.create('Rally.data.lookback.SnapshotStore', { pageSize : 10000, fetch : ['fetch'], filters : [{ property : '__At', value : 'current' },{

add user stories as children to feature

旧巷老猫 提交于 2019-12-24 15:40:03
问题 I was able to add features as children to initiatives by updating the parent field of the feature to point to the initiative (add features to initiative as children (php api)) I assumed this would be the same way to do add user stories as children to features -- by updating the field of the user story to point to its feature. This is the code that's giving me errors: $rally->update("story", $story['ObjectID'], array('Parent' => $feature['ObjectID'])); This is the error I'm getting: PHP Fatal

Issue with rallygrid column width in rc2

China☆狼群 提交于 2019-12-24 14:30:41
问题 Appsdk2 rc2 seems to be ignoring the width parameter on columnCfgs for rallygrids. For example: xtype: 'rallygrid', columnCfgs: [ {dataIndex: 'ValueScore', width: 40, text:'Value'} ] This renders with a 40 pixel width in rc1, but does not in rc2. Is this a bug, or has the parameter changed? Is there a solution for this? 回答1: This is a bug in the 2.0rc2 release. For now it can be worked around by including flex: null in your column config to override what the grid is doing incorrectly: xtype:

What is the proper way to fetch the Owner Name of a Rally Task?

笑着哭i 提交于 2019-12-24 14:28:32
问题 I'm using the RallyRestToolkitFor.NET and I'm pulling information from Rally tasks into our back office system. It is all working well except I'm having trouble fetching the name of the "Owner" of the task. In fact, I can't seem to pull any information from the Owner. Below is a code snippet so you can see what I'm doing. It works great for the Description and FormattedID but the Owner name returned in the QueryResult is blank when it's actually set in Rally. I've tried "Owner", "User", "User

Greasemonkey script only runs when page is reloaded

拥有回忆 提交于 2019-12-24 12:34:03
问题 I am working on a Greasemonkey script to turn some text into links on a a Rally page. The script works fine only when I reload the page. If I navigate to the page in any manner (links, browser forward/back) the script does not run, despite the fact that the Greasemonkey menu shows my script at the bottom, with a checkmark. Here is an example URL: https://rally1.rallydev.com/#/4745909548/detail/userstory/6138899084/changesets My matching rule: /^https://.*\.rallydev\.com/.*/changesets$/ I don

how to add steps to testcases in Rally using python toolkit API

谁说胖子不能爱 提交于 2019-12-24 10:24:08
问题 I recently started playing with Rally python REST API I tried to create Test Cases, But the problem I have is, I am not sure how to Add steps and add content to those steps is there a JSON format for that? Please help me on this 回答1: Following is a brief example of how to do this: #!/usr/bin/env python ################################################################################################# # # createtestcasewithsteps.py -- Create a TestCase, add Test Steps # USAGE = """ Usage: