Apps on Timebox-Filtered Dashboards

Deprecation Warning! The content below is only applicable for use within deprecated 1.x versions of CA Agile Central's App SDK. Use of the components and code on this page is not supported. To develop custom apps in our current environments, please see App SDK 2.1 documentation.

It is possible to get the current dashboard page context from an app running in a custom panel:

    var panelContext = rally.sdk.util.Context.getPanelContext();
    if(panelContext.timeboxFilter && panelContext.timeboxFilter.iteration) {
        //Global iteration filter
        var iteration = panelContext.timeboxFilter.iteration;
        var iterationQuery = panelContext.timeboxFilter.query;
    } else if(panelContext.timeboxFilter && panelContext.timeboxFilter.release) {
        //Global release filter
        var release = panelContext.timeboxFilter.release;
        var releaseQuery = panelContext.timeboxFilter.query;
    } else {
        //No global timebox filter 

If your app declares a global function named onDashboardPageTimeboxFilterChanged it will be automatically called when the global timebox filter changes:

    function onDashboardPageTimeboxFilterChanged(args) {
        if (args.iteration) {
            //Global iteration changed
            var iteration = args.iteration;
            var iterationQuery = args.query;
        } else if(args.release) {
            //Global release changed
            var release = args.release;
            var releaseQuery = args.query;  


需要更多帮助? CA Agile Central 社区为您提供一站式自助和支持。要将反馈或支持请求提交到 CA Agile Central 支持、获取解答并与其他用户协作,请加入我们的 CA Agile Central 社区