Versions Compared

Key

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


...

Info

This is the documentation of JSU for Jira Cloud. If you are using JSU on Jira Server or on Jira Data Center, see the Server/Data Center documentation.

Info

NOTE: This guide starts from the "Edit Workflow" screen of a chosen project. If you're not sure how to get to this page, follow the onboarding steps for existing projects in Edit a Jira Workflow.

(tick) Avoid manual creation of repeated issue fields across linked issues

↓ Follow the visual step-by-step guide below to see how to configure this automation in your Jira instance. ↓

...

Goal

Automate the creation of linked issues and their associated issue fields

Scenario

Let's say you are a Hiring Manager and you are onboarding a new Marketing Assistant.

...

 Your tasks to complete the onboarding

...

could include: 

  • Create new contract 

  • Order new computer

...

Let’s see how JSU can create these linked tasks and associated issue fields when an origin Jira issue called Hiring a Marketing Assistant moves

...

Let's dive in, shall we? 

...

to

Status
colourBlue
titlein progress
.

JSU Components

Create a Linked Issue post function

How to configure this rule

  1. Create a draft of your project workflow. If you're unsure how to get to this page, follow the onboarding steps in Edit a Jira Workflow. You can then view your workflow in Text or Diagram mode. The steps in this use case represent Diagram mode. If you haven't already, switch the workflow viewer to Diagram mode.

  2. We want to perform the automation on the 

    Status
    colourBlue
    titlein progress
     transition , so when the task moves to in progress, two sub-tasks will automatically be created!
    Click on so that two subtasks are automatically created. Select the arrow that points inwards to the In Progress status to show the transition rule Options menu.

    Image Added

  3. Select Post Functions from the list which opens a new tabof options.

    Image Removed

  4. On the Post Functions tab, select Add post function.

    Image RemovedImage Added

  5. Select the Create A Linked Issue (JSU)post function and then click Addat the bottom of the page.

    Image RemovedImage Added

  6. Now let's configure your first post function:- You

    1. We want

    your automation
    1. to

    be
    1. perform the automation inside the same project

    , so you keep
    1. ; for theTarget Project

    setting as
    1. , we select Inside same project.

    - You
    1. We want

    your
    1. our new issue to be related via

    Sub-Task, so in the
    1. Subtask; in The new issue will be related via option,we select Sub-Task.

    Image Removed
    1. Image Added

  7. Now that we got some basic configurations out of the way, it's time for a little magic!  Let's configure the values of different fields by selecting Add configurationat the bottom of the post function configuration page.
    issue fields. In this case, we want to copy a field value from the original issue (our task) to the new issue (a new sub-task). subtask).
    Select Add configurationat the bottom of the post function configuration page.

  8. Select Addfor the Copy to New operation.
    Image Removed

    Image Added

  9. In the newly added Copy to New sub-function configuration, let's copy the Assignee of the task to the Assignee of the sub-tasksubtask

    Image Added

  10. Next, we want to copy the value from one field to another field within the origin issue. We once again select Add configuration.

    Image Removed

  11. We want to copy the summary Summary field of the origin issue to the description Description field of the origin issue, while prepending it with a dash. We select  Select Add for the Copy within Origin operation.

    Image Removed

  12. In our second configuration, let's copy the Summary to Description. Select prepend and manually type in a dash symbol -.

    Image Added


    Congratulations! You've created your second configuration.

  13. We are going to will configure the last operation by setting a value for the summary Summary of the new sub-tasksubtask. Once again, we select Add configuration.

    Image Removed

  14. Since we We want to set the value for the summary of the new sub-task, subtask; we select Add for the Set operation.
    Image Removed

  15. In our third configuration, we set Create contract to Summary. After completing your third configuration, click Add to add the post function to your workflow. 

    Image RemovedImage Added

  16. On the Post Functions summary screen tab, selectAdd post function.Image Removed

  17. Follow Steps 4 - 11 15 to create another sub-task subtask for ordering a PC.  In this case, set the summary Summary of your new sub-task "order PC"
    After finalizing, click Addto add the post function to your workflow. 

    Image Removed

    subtask to order PC.

    Image Added

    Voila! We have now added all of our post functions! 

    Image RemovedImage Added

  18. Publish your workflow, then let's see our setup in action.

...

  1. Let's head over to our project and create a task for hiring a Marketing Assistant.

    1. Make the Summary, Hiring Marketing Assistant.

    2. Add Onboarding processin the Description.

    3. Add an Assignee.
      Image Removed

      Image Added

  2. Change the task's status from Backlog to in Progress and watch the two sub-tasks magically subtasks appear through the automation we configured!
    The description of your task is updated because of the "copy within origin" Copy Within Origin functionality. Your new sub-tasks subtasks have been assigned to the assignee of the task due to the "copy Copy to new" New functionality and their summary is set as configured by the "set" Set functionality.
    That's it! JSU automated the work for you! 
    Image Removed

    Image Added

...

Good to know

This was just one example of automating linked issues and field creation. Regardless of your needs, JSU's "Create A Linked Issue" post function and its operations can help you:

  • copy a field value from the origin issue to a new linked issue,

  • copy the value from one field to another field within the origin issue, and

  • set the value of a field in a new linked issue.

Need more information or help? Get in touch!