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 コミュニティ にご参加ください。