Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1) Login as Jira administrator and as presented below go to "Issues" (1), then "Workflows" (2). Scroll down to find "VACMAN Vacation Manager Workflow" (3) and press "Copy" (4):

(warning) Do not alter anything on change the original "VACMAN Vacation Manager Workflow" - it's always good to have an original working workflow in case something goes wrong, removing/changing it can make Vacation manager Manager unusable.


2) Name copied workflow as you wish:

...

3) Now it's time to edit copied workflow. Make sure after edition of a Vacation Manger workflow's copy, created vacation request goes directly to "Waiting for approval" status. After you finish with edition, it should resemble the one presented below:

Image Removed

(info) I've marked , our goal is to remove "Send to supervisor" step to automate sending requests. 

(info) Marked transition "Delete" and status "Created" that   also needs to be removed and how now "createCreate" transition should be linked now with "Waiting for approval" (to get a workflow like the one presented above):

(warning) Please refrain from removing any status and transition that leads to supervisor acceptance of a leave - if supervisor's role is to be omitted, then user's remaining quota of available days for particular leave won't be calculated properly. If you plan to make a workflow looking like a one below - be advised - it won't work:

Image RemovedMake sure after edition of a Vacation Manger workflow's copy, created vacation request goes directly to "Waiting for approval" status. After you finish with edition, it should look like this:

Image Added


4) Post-function of "createCreate" transition needs to be altered:

...

(warning) You need to repeat those steps for post-functions of other transitions, to make sure there's a correct allocation of assignee to the issue (i.e. transition "approve" should automatically reassign re-assign the issue back to a requesting user via the use of post-function as well).

...

(info) If there are no Vacation Types created yet, then this step is to be skipped.


6) Finally you users can request a leave that goes directly to user's line manager supervisor directly after pressing "Create":


Manager Supervisor sees it like that:

and decided to approve it - issue gets reassigned back to the reporting user:

...