rally

Rally host is non-existent or unreachable via pyral

假装没事ソ 提交于 2019-12-13 05:07:29
问题 I am trying to call rally server simply using below: rally = Rally(server, user, password, workspace=workspace, project=project) But it is giving below error: Traceback (most recent call last): File "testprint.py", line 20, in <module> rally = Rally(server, user=user, password=password, workspace=workspace, project=project) File "C:\RallyRestToolkitForPython-master\pyral\restapi.py", line 259, in __init__ self.contextHelper.check(self.server, wksp, proj, self.isolated_workspace) File "C:

How to build a grid with AppSDK 2 where columns are dropdown values of resolution?

旧巷老猫 提交于 2019-12-13 02:59:48
问题 I want to show a summary of closed defects filtered by iteration with the total count of defects per resolution that looks similar to this: 回答1: Here is an example of a grid that does that. Replace '111' in workspace: '/workspace/1111' with ObjectID of your workspace. This post shows how to find OID of workspace. <!DOCTYPE html> <html> <head> <title>closed defects by iteration</title> <script type="text/javascript" src="/apps/2.0rc1/sdk.js"></script> <script type="text/javascript"> Rally

Call to Rally API v2.0 not returning consistent results

孤人 提交于 2019-12-13 02:18:27
问题 We're trying to use the Rally REST API v2.0 to extract data from Rally and bring it into a local database for further internal analysis. Initially, I make this call to get back the JSON with all the projects I want to enumerate through: https://rally1.rallydev.com/slm/webservice/v2.0/workspace/17200849689 and in the JSON I get back ... "Projects":{ "_rallyAPIMajor":"2", "_rallyAPIMinor":"0", "_ref":"https://rally1.rallydev.com/slm/webservice/v2.0/Workspace/17200849689/Projects", "_type":

In Rally how can get priority, severity drop list options using Web Services v2.0

不打扰是莪最后的温柔 提交于 2019-12-13 02:00:36
问题 Like priority can be High,Low ,Medium. As shown in diagram , get value of state drop down list etc in Json form something like this "State": [{ "id": "1", "name": "open", }, { "id": "2", "name": "close", }] Need this kind of values using web services V2.0 回答1: You may query on TypeDefinition object using Name attribute: https://rally1.rallydev.com/slm/webservice/v2.0/typedefinition?query=(Name = Defect) which will return a reference to the TypeDefinition: _ref": "https://rally1.rallydev.com

time spent actuals

百般思念 提交于 2019-12-13 01:43:19
问题 I would like to be able to copy the total "Time Spent" from a Task on the Time sheet to the Task "Actual" field. This way I can use the Time Sheet to enter the time I've spent on a task and see the value (in the form of the "Actual" column) on the Team Status page. Suggestions the best way to tackle this? I'm new to the Rally APIs so not sure where to start. 回答1: The Time Spent field only exists on the Task Detail Page. It is not actually stored in the on the object and thus not returned in

Rally SDK App using Grid with collapsible tree of children stories

天涯浪子 提交于 2019-12-13 01:23:17
问题 Is it possible, and how would one create a grid-like app that with specified columns but also shows children stories nested under their parent stories the way a Portfolio Hierarchy shows them? As far as I can tell, the Portfolio Hierarchy view doesn't allow additional columns. 回答1: Here is an example of a grid of user stories where the stories are nested under features, and collapsible. The deployment html is in this github repo. Ext.define('CustomApp', { extend: 'Rally.app.App', componentCls

Custom Cycle Time

牧云@^-^@ 提交于 2019-12-13 01:17:32
问题 How do I determine how long something spent in a state? Here is a query I have for pulling specifics on a user story, but I'm trying to understand how to get the duration something spent in In Progress before going to completed. To be more specific, customizing Cycle Time https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/xxxx/artifact/snapshot/query.js?find={"FormattedID":"US41","_PreviousValues.ScheduleState":"In-Progress"}&fields=["ScheduleState","_ValidFrom","_ValidTo","

Embedding Apps with API key

女生的网名这么多〃 提交于 2019-12-12 21:53:11
问题 I am attempting to follow instructions inside https://help.rallydev.com/apps/2.0rc3/doc/#!/guide/embedding_apps to utilize a alm-wsapi-read-only API key. I created a simple defect query app using the rally-app-builder. When I am logged out of Rally, I try to view the defect grid using the following syntax in the Chrome browser, where I insert my apiKey in place of "key here": file:///C:/ProjectWork/RallyGitHub/rally-app-defect-metrics/deploy/App-external.html?apiKey="key here" When loading

Rally Rest Api: QueryFilter: Get defects by timestamp

浪子不回头ぞ 提交于 2019-12-12 21:23:09
问题 Is there a way to use the QueryFilter to get defects updated since a timestamp? Something like this: String timeStamp = "2012-08-24T19:10:09.154Z"; QueryRequest defectRequest = new QueryRequest("defect"); defectRequest.setFetch(new Fetch("LastUpdateDate")); defectRequest.setQueryFilter(new QueryFilter("LastUpdateDate", ">", timeStamp); QueryResponse projectDefects = rallyApi.query(defectRequest); 回答1: The Rally Web Services API intro page has a couple of explanations of gotchas with writing

Fetch user stories by iteration using Rally API

你离开我真会死。 提交于 2019-12-12 21:01:42
问题 I can't figure out how to fetch all the fields of one User story in Rally. Right now, I need to fetch last 5 iterations, and calculate done points for every iteration. I managed to fetch iterations, by specifying type: iteration , but don't know how to fetch user stories for those iterations, and how to specify only done. Should I go with TaskStatus of tasks associated with User story? I guess that User story has reference on Iteration, but I'm not sure how it looks like. I don't find this