published date in comala workflow integrated with JIRA

Karla Cavalcanti June 21, 2017

I have a doubt about published date in comala workflow..
Is it possible I get the published data in a page that it is using Comala Workflow at Confluence and using this published date for another type of control in Confluence?
For example.. I have the follow situation in my client…
I need to control my deadline for review in the company’s documentation.. all the documentation is published at Confluence using Comala Workflow.
I want to use published date to control this deadline..
For example.. one page published on May, 28th 2017 must will be reviewed on May, 28th 2019 (2 years after).
Is there any control in Comala Workflow that allow me to have this control?
I need to know published date of each page to input the deadline next review.. and having this deadline available for search or receiving a reminder by email when deadline is near.

2 answers

1 accepted

0 votes
Answer accepted
Karla Cavalcanti June 21, 2017

You can use duedate parameter in state macro to set a due date for a state. Here is an example how to set-up a due date as an workflowparameter.

 {workflowparameter:expiration_date|type=duration}
   P1Y
 {workflowparameter}

In the example below, when the Publish state expires, an email will be sent to the author of the page. 

{state:Published|final=true|updated=Draft|duedate=@expiration_date@}
 {state}
{trigger:stateexpired|state=Published}
 {send-email:user=@Author@|subject=Page: @title@ has expired}
 @page@ has expired.
 {send-email}
 {trigger}

You can find more information about state and duedate at https://wiki.comalatech.com/display/CW/state .

0 votes
Jonathan February 9, 2018

...where does JIRA come into place here?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events