rally

create/update user story using rally app sdk

喜夏-厌秋 提交于 2019-12-11 03:03:15
问题 Until now, I have been querying the data stores using Rally App SDK, however, this time I have to update a story using the js sdk. I tried looking up for examples for some sample code that demonstrates how the App SDK can be used to update/add values in Rally. I have been doing CRUD operations using Ruby Rally API but never really did it with the app sdk. Can anyone provide some sample code or any link to where I could check it out? Thanks 回答1: See this help document on updating and creating

How to add a custom button on grid and pass row values?

↘锁芯ラ 提交于 2019-12-11 02:53:17
问题 I would like to add a button to a grid so the user can see the time sheet entry values for a given task by passing in the values from the button's row. The grid loads just fine until I add the button to columnCfgs. When the button is there I get a "Uncaught TypeError: Object [object Object] has no method 'setSortState'" error. {text:'View Time', xtype: 'button', listeners: { click: Ext.bind(this._viewTimeEntryValues(projectId, taskId), this) } }, Full Grid Code: this.grid = this.add({ xtype:

Rally: Pull stories counts by schedule state for a release?

自闭症网瘾萝莉.ら 提交于 2019-12-11 02:23:59
问题 I'm trying to pull from the API of story counts for the latest release, broken down by schedule state. There's a report that does that currently, but I don't see any exposed method in the API. Does anyone know if that's possible to obtain? 回答1: You should be able to do a query for each schedule state, and grab TotalResultCount from the body of the response. For example: https://rally1.rallydev.com/slm/webservice/1.31/hierarchicalrequirement.js?query=(ScheduleState = "Defined") https://rally1

Is it possible to attach an image file to the test case result in Rally using Java rally REST API?

↘锁芯ラ 提交于 2019-12-11 02:13:22
问题 I am trying to attach an image file to the test result in Rally using java Rally REST APIs( A screen shot of the failure). The image file is attaching to the test case itself but not to the test result. Tried to give the testCaseResult reference instead of testCaseReference but getting the error "Could not set value for Artifact: Cannot use type TestCaseResult in attribute Artifact" Any help? Thanks 回答1: Following is an example of how to do this. The example creates a new Test Case Result and

Get ObjectID from URL via REST API Java

六月ゝ 毕业季﹏ 提交于 2019-12-11 02:08:59
问题 I try to add Discussion to User Story. Part of code QueryResponse storyQueryResponse = restApi.query(storyRequest); JsonObject storyJsonObject = storyQueryResponse.getResults().get(0).getAsJsonObject(); String storyRef = storyJsonObject.get("_ref").toString(); System.out.println("Ref: " + storyRef); Ref ref = new Ref(); System.out.println(ref.getOidFromRef(storyRef)); System.out.println(ref.isRef(storyRef)); createDis.addProperty("Artifact", ref.getOidFromRef(storyRef)); createDis.addProperty

Rally: Query Filtered to Specific Tags

泄露秘密 提交于 2019-12-11 00:54:39
问题 I am writing a custom app for Rally and I would like to filter the data to stories with specific tags. So far I haven't found a way to write the correct syntax to achieve this purpose. Here's an example of a standard query that I would include in the cardboardConfig: var query = new rally.sdk.util.Query('SomeField = "Some Value"'); This works well enough when trying to query a field that contains a single value, but this doesn't appear to work on tags since tags are arrays -- assuming I am

Last record value is displayed, not all values are looped

核能气质少年 提交于 2019-12-11 00:52:12
问题 In the code below, in _copyChild and innerModelRetrieved functions print on console 4 features one by one, but in next function onInnerModelRetrieved 4 times last feature value is printed, I am not able to figure it why its happening like that. please help me with this. Ext.define('CustomApp', { extend: 'Rally.app.App', componentCls: 'app', _newObj : {}, childrens: [], _type : null, launch: function() { Ext.create('Rally.ui.dialog.ChooserDialog', { width: 450, autoScroll: true, height: 525,

Rally App2.0 - Retrieve a specific story

耗尽温柔 提交于 2019-12-11 00:45:50
问题 I am getting the hang of 2.0, but a bit stuck on something that seems simple. Basically, I have created a new app for my team to use (thanks all for the help). I thought it would be cool to have a way I could add messages to the dashboard. I decided the easiest way to accomplish this, is to create a story and in my code simply query that one story, grab the description and show it in the app. Sounds easy enough right? I am having a bit of a time simple running out grabbing the Description

can you send email notifications using the rally api?

旧巷老猫 提交于 2019-12-11 00:00:58
问题 I am building a custom rally app, and I need to send out email notifications from it. Is there any way to send emails using the Rally API? so I don't have to use a third party service like Mandrill or Mailjet. Thank you. 回答1: There is no way to do this through the Rally API. 来源: https://stackoverflow.com/questions/40134936/can-you-send-email-notifications-using-the-rally-api

Is there a way to refresh the list in an object dropdown using new query conditions ?

做~自己de王妃 提交于 2019-12-10 23:47:17
问题 Using the object dropdown component I want to change the query and display a new list of items. Is that possible once the component has been created ? http://developer.rallydev.com/help/object-dropdown 回答1: The best way to do this is to destroy the dropdown and recreate it again. Only a few of the AppSDK 1.0 components can reload their own data. 回答2: The ComboBoxes in the new App SDK 2.0 can be refreshed by calling load on its underlying store again (passing new filters, context, etc.) 来源: