rally

Select User stories based on feature using Rally API

我是研究僧i 提交于 2020-01-15 12:15:27
问题 I'm trying to fetch all user stories that belong to certain feature, but which have children. Here's how I created query for that using rally-node. async.map(features, function(feature, cb) { self.restApi.query({ type: 'hierarchicalrequirement', limit: Infinity, order: 'Rank', fetch: ['FormattedID', 'Name', 'Children'], parent: feature.ObjectID, query: queryUtils.where('DirectChildrenCount', '>', 0) }, cb); }, function(err, results) { //user stories }); And here's how my feature looks like: {

APP SDK 2.0: Charts in the short term?

坚强是说给别人听的谎言 提交于 2020-01-15 03:21:06
问题 I know you guys will be making a really nice charting tool available for 2.0 SDK soon, but until then, I'd like to use Google Charts. In the 1.x API, you could could define html object by id, and then use getElementById() to get a reference to that item. So for example: var chart = new google.visualization.BarChart(document.getElementById('chart_div')); But in the new SDK, you don't have an HTML block to work with-- how would you do the following? This question is relevant for any item where

Can I use Java to access the Lookback data?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-07 04:37:07
问题 Is there a way to access historical data from Java? I am currently using the rally-rest-api (1.0.6) to pull task information out. But I would like to expand my query to include historical data. Is the Lookback API limited to Javascript? 回答1: While Lookback API (LBAPI) isn't restricted to Javascript, Rally's AppSDK2 Javascript toolkit is currently the Rally API into which Rally-built hooks have been built for accessing LBAPI data. This is accomodated via the Snapshotstore. Although AppSDK2

Does Rally.data.custom.Store have magic uniqueness?

风流意气都作罢 提交于 2020-01-06 03:33:24
问题 I created a custom app (using a Lookback query) that found any items that have been blocked within the last N days. It displays basic story/defect data, along with the duration of the "blockage" and the reason. Sadly, some stories have been blocked more than once. I wanted to show a row in my display grid for each combination of story ID and blocked reason. However, I could not get that to work - it stubbornly showed only one row per id (e.g. US1243). After endless debugging, I found that I

Query to retrieve defects from parent and children

戏子无情 提交于 2020-01-06 02:35:27
问题 I have inherited code that displays a graph of defects on a project. I have now took my project and split it into two projects, so that now there is a parent project and two children. The code (below) just accumulates the defects from the parent and does not include the data from the children. snippet: storeType: "Rally.data.lookback.SnapshotStore", storeConfig: { find: { _TypeHierarchy: "Defect", Children: null }, fetch: ["Severity", "State"], hydrate: ["Severity", "State"], sort: {

Remove html markup from Rally description field

点点圈 提交于 2020-01-05 18:39:28
问题 Is there a quick way to remove html markup from a string ? The problem is I am copying the description from stories to the clipboard, we just want plain text but of course the value of description will be marked up. So I want to turn ... <SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">text text text</SPAN>

Remove html markup from Rally description field

怎甘沉沦 提交于 2020-01-05 18:38:27
问题 Is there a quick way to remove html markup from a string ? The problem is I am copying the description from stories to the clipboard, we just want plain text but of course the value of description will be marked up. So I want to turn ... <SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">text text text</SPAN>

Remove html markup from Rally description field

牧云@^-^@ 提交于 2020-01-05 18:38:02
问题 Is there a quick way to remove html markup from a string ? The problem is I am copying the description from stories to the clipboard, we just want plain text but of course the value of description will be marked up. So I want to turn ... <SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">text text text</SPAN>

specifying “From” to “Time” drop down calendar in Rally for a chart

喜欢而已 提交于 2020-01-05 11:33:28
问题 I have a "Project cumulative flow" chart that is working. It currently pulls data for last 3 months from Rally and displays it correctly in the chart. However, now I want to provide the a "From" and "To" drop down calendar, so that user can change the range of dates to what he wants. So, by default the user will be shown 3 months and no the side of the chart there should be a "From" and "To" drop down calendar for user to change the range if he wishes to. I have a part of this working. I have

specifying “From” to “Time” drop down calendar in Rally for a chart

…衆ロ難τιáo~ 提交于 2020-01-05 11:32:10
问题 I have a "Project cumulative flow" chart that is working. It currently pulls data for last 3 months from Rally and displays it correctly in the chart. However, now I want to provide the a "From" and "To" drop down calendar, so that user can change the range of dates to what he wants. So, by default the user will be shown 3 months and no the side of the chart there should be a "From" and "To" drop down calendar for user to change the range if he wishes to. I have a part of this working. I have