rally

Confusion about HierarchicalRequirement fields

旧巷老猫 提交于 2019-12-24 08:23:01
问题 There are 3 different fields for User Stories for a related parent, and we have run into some confusion about them. As I understand it: The Parent field is for a direct parent that is another User Story The PortfolioItem field is for a direct parent that is Feature The Feature field is for a parent (direct or via one or more US parents) that is a Feature If you have the Parent and Feature fields, couldn't you compare the two of them to see if the direct parent is a US or a PI (thus rendering

How to get TestSet ID using Rally Rest API in Java?

本小妞迷上赌 提交于 2019-12-24 05:31:25
问题 I am using following code to get TestSet ID. But it doesn't give any result QueryRequest testsetRequest = new QueryRequest("Test Set"); testsetRequest.setFetch(new Fetch("FormattedID","Name")); testsetRequest.setQueryFilter(new QueryFilter("TestSet.Name", "=", "TestSetName")); QueryResponse testSetQueryResponse = restApi.query(testsetRequest); System.out.println(String.format("\nTestSet:%d",testSetQueryResponse.getTotalResultCount())); StringTestSetref=testSetQueryResponse.getResults().get(0)

App works as desired in debug mode but crashes in Rally environment

半城伤御伤魂 提交于 2019-12-24 03:39:15
问题 I have created an app that creates a grid dynamically, as well as lets the user make changes to one of the grid columns via a 'numberfield' editor. Everything is working great in the debug environment but when I try to edit one of the fields in the Rally environment it crashes the app. From the looks of it, the iframe containing the app is just reloading altogether. Now, here's the weird part that may be a clue to what's going on. The app crashes after I click elsewhere on the app (committing

RallyAPI: How do I create a UserStory and relate it to a Feature?

允我心安 提交于 2019-12-23 23:34:07
问题 So, I'm writing an app to 'flesh out' new clients in Rally. It will have tools to create templates which will add first: add a 'Feature' add 'UserStories' under that 'Feature' add 'Tasks' under those 'UserStories' individually I have figured out step 1. But how to associate anything I can't figure out from the horrible and cryptic documentation. Here's what I have so far: var FeatureToAdd = _featureRepository.GetFeatures().FirstOrDefault(x => x.Id == 2); // Initialize the REST API. You can

rally rest api java toolkit sslpeerunverifiedexception : peer not authenticated

泄露秘密 提交于 2019-12-23 01:19:22
问题 I am trying to use this toolkit to test Rally's webservice api. We have an internal setup of Rally. My code looks like this: RallyRestApi restApi = new RallyRestApi (new URI("https://rally"), "userName", "password"); restApi.setApplicationName("Test"); restApi.setWsapiVersion(wsapiVersion); String workspaceRef = new String("/workspace/11457676"); String projectRef = new String("/project/11457760"); String storyFormattedID = "US576"; QueryRequest storyRequest = new QueryRequest(

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-22 12:05:34
问题 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

Can you GET Rally API requirements, defects, and all tasks with one query

瘦欲@ 提交于 2019-12-21 20:46:55
问题 Currently I have to make multiple GETs to receive all the information which I need User Story: FormattedID, _refObjectName, State, Owner._refObjectName Tasks for each User Story: FormattedID, _refObjectName, State, Owner._refObjectName Defect: FormattedID, _refObjectName, State, Owner._refObjectName Tasks for each Defect: FormattedID, _refObjectName, State, Owner._refObjectName For all of the User Stories I use: https://rally1.rallydev.com/slm/webservice/1.26/hierarchicalrequirement.js?query=

Rally update Changeset data from Java using Java Toolkit for Rally REST API

左心房为你撑大大i 提交于 2019-12-20 05:38:19
问题 I need to create a new Changeset entry for a story, given I have the formattedID and the objectID for the story. I am using the given Java Toolkit for Rally REST API (http://developer.rallydev.com/help/java-toolkit-rally-rest-api) Any help here would be very useful thanks! 回答1: Here's a example of how to accomplish this: public class RestExample_AddChangesetToUserStory { public static void main(String[] args) throws URISyntaxException, IOException { // Rally parameters String rallyURL = new

Filtering epics from Kanban board

こ雲淡風輕ζ 提交于 2019-12-20 05:28:36
问题 I would like to start by saying I have read Rally Kanban - hiding Epic Stories but I'm still having trouble on implementing my filter based on the filter process from the Estimation Board app. Currently I'm trying to add an items filter to my query object for my cardboard. The query object calls this._getItems to return an array of items to filter from. As far as I can tell the query calls the function, loads for a second or two, and then displays no results. Any input, suggestions, or

How to Add an Attachment to a User Story using Rally REST .NET

早过忘川 提交于 2019-12-20 03:22:10
问题 We're in the process of porting our .NET Rally code from SOAP to the REST .NET API. So far so good, the REST API seems to be faster and is easier to use since there's no WSDL to break each time the work product custom fields change in the Rally Workspace. I'm having trouble with one thing though as we try to replicate the ability to upload attachments. We're following a very similar procedure as to the one outlined in this posting: Rally SOAP API - How do I add an attachment to a Hierarchical