Versions Compared

Key

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

Objectives

In this section, we will amend the workflow associated with the Task issue type so that it will trigger the lookup automation to populate the stakeholders.

...

We will add a 4 post functions

  1. Lookup the Data Owner with Application and update back to the triggering issue’s Data Owner

  2. Lookup the Data Owner with the Application and update back to the triggering issue’s Assignee

  3. Lookup the System Owner with Application and update back to the triggering issue’s System Owner

  4. Lookup the System Admin with Application and update back to the triggering issue’s System Admin

...

  1. When the issue is created, it will use the Application field to lookup the stakeholders

    1. Data Owner - the person in charge of reviewing whether the person has authority to access the data in the application

    2. System Owner - the person in charge of the application

    3. System Admin - the System admin who is responsible for granting the access

  2. The request will be assigned to the Data Owner for approval

  3. Once the Data Owner has approved, it will be routed to the System Owner for approval

  4. After the System Owner has approved, it will be assigned to the System Admin to process the request

  5. When the System Admin has completed the task, the request goes to the Completed status

  6. During the workflow, it is possible to cancel or reject the request

...

  1. Click on the Add post function link

    Image RemovedImage Added

  2. Select Lookup Manager: Update Issue Field and click on the Add button

  3. Select Application as the Source Field(s) since we are using the that field in the Service Desk request to perform the lookup

  4. Select APPMAPPING project as the Lookup Project Key since that it stores the mapping between the Application field and the other stakeholder user picker fields (Data Owner, System Owner, System Admin)

  5. Select Application in the Search Field(s) as it is the field in the Lookup Project to be matched with the Source Field(s)

  6. Select Data Owner for the Matching Field because we will use its value

  7. Select Data Owner for the Destination Field because we will use the value from step 6 to update back into the Data Owner field in the triggering issue

  8. Click on the Add button

  9. The Post Function is added successfully

...

Unlike Jira Server/DC, the post function functions for Jira Cloud are executed asynchronously. Thus it is not possible to add a post function to copy the value of the Data Owner to the Assignee. However, it is possible to use a Lookup post function to update the Assignee directly.

  1. Click on the Add post function link

    Image RemovedImage Added

  2. Select Lookup Manager: Update Issue Field and click on the Add button

  3. Select Application as the Source Field(s) since we are using the that field in the Service Desk request to perform the lookup

  4. Select APPMAPPING project as the Lookup Project Key since that it stores the mapping between the Application field and the other stakeholder user picker fields (Data Owner, System Owner, System Admin)

  5. Select Application in the Search Field(s) as it is the field in the Lookup Project to be matched with the Source Field(s)

  6. Select Data Owner for the Matching Field because we will use its value

  7. Select Assignee for the Destination Field because we will use the value from step 6 to update back into the Assignee field in the triggering issue

  8. Click on the Add button

  9. The Post Function is added successfully

...

  1. Click on the link of the workflow name

  2. Click on the Diagram tab to go into diagram mode

  3. Click on the Data Owner Review status

  4. Click on the Configure link in the box on the right

  5. Select the options for the fields and then click on the Create button

    1. Get approvers from field: Data Owner

    2. If approved, transition status to: Data Owner Approved

    3. If declined, transition status to: Data Owner DeniedssDenied

  6. When you are done, you can click on the Publish Draft link at the top to save the workflow

...