Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.
Wiki Markup
{replace-and-render}

//projeto
{replace-item:%projeto%}JBTRT4ADME{replace-item}

//sprint
{replace-item:%sprint%}Sprint 28{replace-item}

//data inicial
{replace-item}{replace-item}

//data final
{replace-item}{replace-item}

//usuario que trabalhou
{replace-item:%usuario%}marcelo.mariano{replace-item}

{replace-item:%totalissues%%open%}
{sql-query:datasource=jiraDS|table=false|}
select count(ji.*) as total from jiraissue ji, project p, projectversion pv
where ji.project =  pv.project
and pv.project = p.id
and p.pkey like('%JBTRT4ADME%')--nome do projeto
and pv.vname like('%Sprint 29%')--nome da versao
and ji.issuestatus in('1')
{sql-query}
{replace-item}

{replace-item:%inProgress%}
{sql-query:datasource=jiraDS|table=false|}
select count = 350(*) as total from jiraissue ji, project p, projectversion pv
where ji.project =  pv.project
and pv.project = p.id
and p.pkey like('%JBTRT4ADME%')--nome do projeto
and pv.vname like('%Sprint 29%')--nome da versao
and ji.issuestatus in('1','3',3')
{sql-query}
{replace-item}

{replace-item:%resolved%}
{sql-query:datasource=jiraDS|table=false|}
select count(*) as total from jiraissue ji, project p, projectversion pv
where ji.project =  pv.project
and pv.project = p.id
and p.pkey like('%JBTRT4ADME%')--nome do projeto
and pv.vname like('%Sprint 29%')--nome da versao
and ji.issuestatus in('5')
{sql-query}
{replace-item}

{replace-body}

{chart:type=bar|title=Burnup de teste com sql|dataOrientation=vertical|width=600|height=300|dataDisplay=false|3D=false|colors=green,blue}

|| Dias || Esperado || Pronto ||
| 01 | 6.66 | 3%open% |
| 02 | 13.32 | 4%inProgress% |
| 03 | 19.98 | 50%inProgress% |
| 04 | 26.64 | 50%inProgress% |
| 05 | 33.33 | 50%inProgress% |
| 06 | 39.96 | 50%inProgress% |
| 07 | 46.62 | 50%inProgress% |
| 08 | 53.28 | 50%inProgress% |
| 09 | 59.94 | 50%inProgress% |
| 10 | 66.60 | 50%inProgress% |
| 11 | 73.26 | 50%inProgress% |
| 12 | 79.92 | 50%resolved% |
| 13 | 86.58 | 50%resolved% |
| 14 | 93.24 | 50%resolved% |
| 15 | 100 | %totalissues%%resolved% |
{chart}


{sql-query:datasource=jiraDS|table=false|}
select count(*) from jiraissue
{sql-query}


{sql-query:datasource=jiraDS|table=false|}
select v.description from projectversion v inner join project p on v.project = p.id and p.pkey like '%projeto%' and v.vname like '%sprint%'
{sql-query}

{html}
<ul>
{html}
{sql-query:datasource=jiraDS|table=false|output=html|endRow=</li>|}
select '<li>'||  issue.summary  from projectversion v, nodeassociation n, jiraissue issue, customfield cf, customfieldvalue cv where
 n.source_node_entity='Issue' and n.sink_node_entity='Version' and
 n.association_type='IssueFixVersion' and n.sink_node_id =
 v.id and n.source_node_id = issue.id and issue.pkey like '%JBTRT4ADME-%' and v.vname = '%versao%'
and cf.cfname = 'Parte da Meta' and cf.id = cv.customfield and cv.issue = issue.id and cv.stringvalue = 'Sim'
{sql-query}
{html}
<ul>
{html}

{replace-body}
{replace-and-render}