CA Agile中央故事(按功能)

时间:2018-08-16 18:53:56

标签: html rally

我已经使用了以下GitHub链接中提供的“打印故事卡”功能:

https://github.com/jkrooswyk/Print-Story-Cards-with-Mods-Apps/blob/master/Print%20All%20Backlog%20Story%20Cards.html

但是,我想对其进行一些修改以按功能对故事进行排序,以便可以将功能打印在不同颜色的纸张上。有没有办法修改此代码来做到这一点?

1 个答案:

答案 0 :(得分:1)

您应该可以只更改此行:

https://github.com/jkrooswyk/Print-Story-Cards-with-Mods-Apps/blob/master/Print%20All%20Backlog%20Story%20Cards.html#L183

像这样:

JobScheduler jobScheduler = (JobScheduler) appContext.getSystemService(JOB_SCHEDULER_SERVICE);
ComponentName componentName = new ComponentName(appContext, MyJobService.class);
JobInfo jobInfo = new JobInfo.Builder(1, componentName)
        .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)
        .setPeriodic(900000) //15mins
        .setPersisted(true)
        .build();
jobScheduler.schedule(jobInfo);