rally

Feature deep copy in rally

ε祈祈猫儿з 提交于 2019-12-12 02:46:44
问题 Actully I want functionality like feature deep copy Which will copy all the stories and tasks inside those stories in that feature. I modified the code from StoryDeepCopy but features are not getting populated just stories are only getting populated, I don't know why its happening. I think the story deep copy app was in version 1.32 which don't have concept of feature or any PortfolioItem but 2.0 version has the support for that. This may be the reaason. Any suggestions This is some of the

Lookback API _ProjectHierarchy not scoping down

拈花ヽ惹草 提交于 2019-12-12 02:24:33
问题 Hi I am fetching the current userstories for a particular iteration using the following code Ext.define('CustomApp', { extend: 'Rally.app.App', componentCls: 'app', launch:function(){ me = this; combo = window.parent.Ext4.ComponentQuery.query('rallyiterationcombobox')[0]; var iterationObjectID = combo.getRecord().data.ObjectID; var query1= { _ProjectHierarchy: me.getContext().getProject().ObjectID, Iteration : iterationObjectID , _TypeHierarchy:"HierarchicalRequirement"}; var fields = [

peer not authenticated - Rally javatoolkit error

为君一笑 提交于 2019-12-12 01:57:30
问题 I have been using the rally javatoolkit for a while to add testcases, test results etc without any error. But all of a sudden it started throwing error as " javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated " . I have referred the pages "rally rest api java toolkit sslpeerunverifiedexception : peer not authenticated" , rally rest api java toolkit sslpeerunverifiedexception : peer not authenticated but they didn't help me. Can someone help me with what I am doing wrong. Also If

using Lookback API how to find tasks that did not have a change in ToDo?

老子叫甜甜 提交于 2019-12-11 21:28:49
问题 I am writing an app that shows a grid of tasks, filtered by iteration, where ToDo has not been modified within certain time frame. Per documentation Iterations on Tasks are not available in LookbackAPI, but there is a second question: how to find tasks that did not have a change in ToDo within a time period specified? Thank you. 回答1: You may apply this filter "_PreviousValues.ToDo":{$exists: false} to get snapshots where ToDo was not modified. This query looks for Tasks in a specific project,

Creating >= 3 generation deep Test Folders

旧巷老猫 提交于 2019-12-11 14:44:15
问题 I am drawing my code my user NickM's github located at https://github.com/nmusaelian-rally/rally-java-rest-apps/blob/master/addTCtoTF.java I am needing to create a Test Folder Hierarchy >= 3 generations deep(grandparent, parent, child etc. for example). The code I currently have with my additions is below. The Java code works with my additions I made to the code. However it is still not creating the 3 generation deep Test Folder set that I want(still creating just 2 deep). Can someone help

Listen for Rally defect status change

左心房为你撑大大i 提交于 2019-12-11 13:53:13
问题 I'm investigating extending the functionality of Rally for my company. Here's what we want to do: When a user changes the 'State' of a defect we want to run some custom code. I'd like to attach a listener to the 'State' dropdown field so that when the state changes the listener fires some code. Is this possible? I've been doing some research and everything seems to indicate no. Any suggestions or pointers or tips would be gratefully appreciated.. thanks in advance, Brian. 回答1: I've set up a

Rally toolKit for Java how do i create and then attach a TestCaseResult to a TestCase

孤街浪徒 提交于 2019-12-11 11:40:45
问题 general code where testCase is a JsonObject : JsonObject result = new JsonObject(); result.addProperty("Verdict", "True"); result.addProperty("TestCase", Ref.getRelativeRef(testCase.get("_ref").getAsString())); CreateRequest createRequest = new CreateRequest("TestCaseResult", result); CreateResponse createResponse = restApi.create(createRequest); I guess the two main questions I have are: Am I creating the testCaseResult correctly?(with the testCase property being a reference to a testCase)

Permissions error creating rally milestone when using API Key

半世苍凉 提交于 2019-12-11 10:55:05
问题 I'm trying to create rally milestones from an external app using an API Key for credential authorization, but I get the warning "Not authorized to create: Milestone" whenever I run the following code: DynamicJsonObject toCreate = new DynamicJsonObject(); toCreate["Name"] = "test"; CreateResult createResult = restApi.Create("milestone", toCreate); I ran the same code with defects and other rally objects without any issues, and I am able to update existing milestones. However, I still can't

How do I add custom HTML in Rally sdk 2.0?

家住魔仙堡 提交于 2019-12-11 10:52:07
问题 I'm creating an app with some custom gauges using Rally SDK 2.0. This requires some custom HTML. I took a rake-compiled app.html file from the examples as a starting point. Using JustGage for my gauges. Here is my launch function. launch: function () { var info = this.getStoriesForProject(); //Gets some aggregate info $('#header label').html(info.Title); var g = new JustGage({ id: "devgauge", value: info.DevPercent, levelColors: ['#f80404', '#f8f804', '#50ed0e'], min: 0, max: 100, title: "Dev

How can I update Rally team membership?

依然范特西╮ 提交于 2019-12-11 10:48:34
问题 I'm stumped on how to update team membership through the API. I'm able to add users to projects, through project permissions, but can't update the team membership to show that a user is part of a specific team. How is that best accomplished? 回答1: The TeamMemberships collection on User is modifiable. Since the question was tagged with C# here is an example of how to do this (assumes wsapi v2.0 and .net rest toolkit 2.0): //Get the current team memberships for a user var user = restApi