User Tools

Site Tools


jira

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
jira [2016/03/12 18:24] – external edit 127.0.0.1jira [2020/12/27 20:35] (current) – external edit 127.0.0.1
Line 88: Line 88:
  
 {{https://confluence.atlassian.com/download/attachments/720408131/agile-sprintreport.png?200}} {{https://confluence.atlassian.com/download/attachments/720408131/agile-sprintreport.png?200}}
 +
 +
 +
 +==== Calculated Custom Fields  ====
 +Jira can use a plugin "" to calculate fields by using another fields.
 +https://innovalog.atlassian.net/wiki/spaces/JMCF/overview#JIRAMiscCustomFields-calculatednumberfield
 +
 +The formula is stored in the describtion of the custom field.
 +Here an example which uses fields "nichtverfuegbarkeitBis" and "nichtverfuegbarVon" to return its difference.
 +
 +<code>
 +Nicht verfügbarkeit des Systems
 +<!-- @@Formula: 
 +log.error("Value of field nichtverfuegbarkeitBis is: "+issue.get("nichtverfuegbarkeitBis"));
 +log.error("Value of field nichtverfuegbarVon is: "+issue.get("nichtverfuegbarVon"));
 + 
 +  
 +int downtime=((issue.get("nichtverfuegbarkeitBis").getTime() - issue.get("nichtverfuegbarVon").getTime()) / 1000 / 60) ;
 +
 +return downtime+" min";
 +-->
 +</code>
 +
 +{{https://i.imgur.com/iUXFjM4.png}}
 +
 +
  
jira.1457807067.txt.gz · Last modified: (external edit)