Provided Post-Functions

catworkx Leave Management provides a collection of post-functions to design your workflows. These post-functions can be configured in the global app configuration dialogs. Most of the post-functions do not need any further specific configuration. This is designed to avoid misconfiguration.

The following post-functions are provided:

[cwx-lm] Cancel Leave Function

Cancel an approved leave and credit canceled leave days to the employee.

This post-function does not require any parameters.

[cwx-lm] Copy Assignee Function

Copies the assignee of an issue linked with an outwards link of a given link type.

This post-function is used in the "Submit" transition in the "Leave" workflow to copy the employee to an leave request.

Required information:

Choose outwards issue link type: The menu displays a list of outward link types. Select a link type that is used to link the current issue to the issue the assignee is copied from.

[cwx-lm] Create Worklog Function

Logs workdays to a specified issue.

This post-function is used in the "Confirm" transition in the "Leave" workflow to create an worklog entry for the requesting employee before the issue is closed.

This post-function does not require any parameters.

[cwx-lm] Leave Management Issue Link Function

Links a leave issue to the reporter's employee issue.

This post-function has to be added to the "Create" transition of any leave workflow. It ensures that a leave request is linked to the employee issue of the employee selected in the UID field.

This post-function does not require any parameters.

[cwx-lm] Leave Management Set Summary Function

Hides the "Summary" system field in the "Create Issue" dialog and sets the summary of an issue automatically to <author> - <issue_type>.

This post-function has to be added to the "Create" transition and the "Summary" system field has to be hid from the "Create Issue" dialog. If you do not hide the "Summary" from the "Create Issue" dialog, the user has to enter a summary because it is required. This summary will be overwritten when executing the "[cwx-lm] Leave Management Set Summary Function".

This post-function does not require any parameters.

[cwx-lm] Send Appointment Function

Sends an email with an ICS file appointment invitation to the leave requester on approval. The ICS file, you can import directly into your calendar application.

This post-function is used in the "Approve" transition in the "Leave" workflow.

This post-function does not require any parameters.

[cwx-lm] Update Leave Record Function

Calculates the length of a leave period and update the leave record accordingly. This post-function must be placed after issue status update, but before issue reindex!

Add this post-function to any transition in any leave management workflow.

This post-function does not require any parameters.

[cwx-lm] Plan in Tempo Function

Create a planned worklog item in Tempo Planner.

This post-function does not require any parameters.

[cwx] Set Summary

Set the issue summary as specified by a format string. This post-function is provided by the included "Auto-Summary for Jira" app and described here.