Versions Compared

Key

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

...

  1. New custom field

    1. Add new custom field - Team User Picker (Vacation Manager) - “2nd approver” to Vacation Manager project:

    2. Select Vacation Manager project in last step of wizard:

  2. Issue Security Scheme

    1. Go to “Security Levels“ in Vacation Manager Issue Security Scheme.

    2. Then use “Add“ button in “User, Supervisor and HR admins(Default)“ row.

    3. In next screen select “User custom field value“ radio button and select field created in point 1.

    4. Save changes.

  3. Vacation Manager Workflow

    1. Go to Vacation Manager Workflow and edit it.

    2. Add new status e.g. Waiting for 2nd approval

    3. Create new transition from “Waiting for approval” to “Waiting for 2nd approval“ - name “Send to 2nd supervisor“

    4. Search “approve“ transition and move it from “Waiting for approval“ to “Waiting for 2nd approval“

    5. In “Send to 2nd supervisor“ transition need add Conditions, Validators and Post Functions. It’s quite similar like in “Send to supervisor“ transition but it’s two differences marked in bold:
      - Conditions:
      Show transition for selected groups and users: supervisor, assignee, HR group (hrs)


      - Validators:
      Validates vacation days numbers using "Start Date" and "End Date" custom fields,
      Validates if supervisor/substitute fields are not the same as reporter


      - Post functions:
      Calculate used vacation days,
      Set Assignee to value from 2nd approver field (field created in point 1)


    6. Create new transition from “Waiting for 2nd approval“ to “Reject“ and add missing condition and post function like in “Reject“ transition:
      - Condition: Show transition for selected groups and users: assignee, HR group

      Image Added


      - Post function: The Resolution of the issue will be set to Done.

      Image Added



    7. Create new transition from “Waiting for 2nd approval“ to “Need more info“. In screen set “VACMAN Comment screen

      Image Added


      Edit Conditions and Validators
      - Conditions: Show transition for selected groups and users: assignee, HR group

      Image Added


      - Validators: Makes comment field required.

      Image RemovedImage Added

    8. Save all changes and publish new workflow:


...