<#-- Uses FreeMarker template syntax, template guide can be found at http://freemarker.org/docs/dgui.html --> <#macro subject responsibility object> <#-- @ftlvariable name="responsibility" type="jetbrains.buildServer.responsibility.ResponsibilityEntry" --> <#-- @ftlvariable name="object" type="java.lang.Object" --> <#compress> <#assign reporter> <@reporterDescription responsibility/> <#assign doneByAnotherUser=(responsibility.state != "NONE" && responsibility.reporterUser?? && responsibility.responsibleUser?? && responsibility.reporterUser.id != responsibility.responsibleUser.id)/> <#assign byWhom>by ${reporter?html} <#if responsibility.state.active> <#if responsibility.reporterUser?? && responsibility.responsibleUser?? && responsibility.reporterUser.id == responsibility.responsibleUser.id> ${responsibility.responsibleUser.descriptiveName?html} started investigation of ${object} <#else> ${responsibility.responsibleUser.descriptiveName?html} is assigned for investigation of ${object} ${byWhom} <#if responsibility.state.fixed> ${responsibility.responsibleUser.descriptiveName?html} fixed ${object} <#if doneByAnotherUser>(done ${byWhom}) <#if responsibility.state.givenUp> ${responsibility.responsibleUser.descriptiveName?html} gave up fixing ${object} <#if doneByAnotherUser>(done ${byWhom}) <#macro comment responsibility> <#-- @ftlvariable name="responsibility" type="jetbrains.buildServer.responsibility.ResponsibilityEntry" --> <#if responsibility.comment?length != 0> Comment: ${responsibility.comment?html} <#macro removeMethod responsibility> <#-- @ftlvariable name="responsibility" type="jetbrains.buildServer.responsibility.ResponsibilityEntry" --> Resolve: <#if responsibility.removeMethod.manually>manually<#else>automatically when fixed <#macro reporterDescription responsibility> <#-- @ftlvariable name="responsibility" type="jetbrains.buildServer.responsibility.ResponsibilityEntry" --> <#if responsibility.reporterUser??> ${responsibility.reporterUser.descriptiveName} <#else> TeamCity