Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Cloud

Info

This is the documentation

...

for 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 first on either: /wiki/spaces/JSUCLOUD/pages/27801900 or /wiki/spaces/JSUCLOUD/pages/1147633753

...

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

...

Have you ever wished value fields of an origin issue could be copied automatically to its linked issues? Your wish is our command! 

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

...

  1. so that two subtasks are automatically created. Select the arrow that points

...

  1. to the In Progress status to show the transition rule Options menu.

    Image Added

  2. Select

...

  1. Post Functions

...

  1. from the list

...

  1. of options.

...

  1. On the Post Functions

...

  1. tab, select Add post function

...

  1. .

...

  1. Image Added

  2. Select the

...

  1. Create A Linked Issue (JSU)

...

  1. post function

...

  1. and then click

...

  1. Add

...

  1. at the bottom of the

...

  1. page.

...

  1. Image Added

  2. Now let's configure your

...

  1. first post

...

  1. function

...

  1. :

...

    1. We want

...

    1. to perform the automation inside the same project

...

    1. ; for theTarget Project

...

    1. , we select Inside same project

...

    1. .

...

    1. We want

...

    1. our new issue to be related via

...

    1. Subtask; in The new issue will be related via

...

    1. option, we select

...

    1. Sub-Task

...

    1. .

      Image Added

  1. Now it's time for a little magic! 

...

  1. Let's configure the values of different

...

  1. issue fields. In this case, we want to copy a field value from the original issue (our task) to the new issue (a new

...

  1. subtask).
    Select Add configurationat the bottom of the post function configuration page.

  2. Select Addfor the Copy to New operation.

...

  1. Image Added

  2. In the

...

  1. Copy to New sub-function configuration, let's copy the Assignee of the task to the Assignee of the

...

  1. subtask

    Image Added

  2. Next, we want to copy the value from one field to another field within the origin issue. We once

...

  1. again select Add configuration

...

  1. .

...

  1. We want to copy the

...

  1. Summary field of the origin issue to the

...

  1. Description field of the origin issue,

...

  1. while prepending it with a dash.

...

  1.  Select Add for the Copy within Origin

...

  1. operation.

  2. In our second configuration, let's copy the Summary to Description

...

  1. . Select prepend

...

  1. and manually type in a dash

...

  1. symbol

...

  1. -

...

  1. .

    Image Added


    Congratulations! You've created your second configuration

...

  1. .

  2. We

...

  1. will configure the last operation by setting a value for the

...

  1. Summary of the new

...

  1. subtask. Once again, we

...

  1. select Add configuration

...

  1. .

  2. We want to set the value for the summary of the new

...

  1. subtask; we select Add for the Set operation.

  2. In our third configuration, we set Create contract to Summary

...

  1. . After

...

  1. completing your third configuration,

...

  1. click

...

  1. Add

...

  1. to add the post function to your workflow. 

...

  1. Image Added

  2. On the Post Functions

...

  1. tab, select

...

  1. Add post function

...

  1. .

  2. Follow Steps 4 -

...

  1. 15 to create another

...

  1. subtask for ordering a PC. 

...

  1. In this case, set the

...

  1. Summary of your new

...

  1. subtask to order PC.

    Image Added

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

...


  1. Image Added

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

Test the workflow

  1. Let's head over to our project and create

...

  1. a task for hiring a Marketing Assistant.

    1. Make the Summary

...

    1. , Hiring Marketing Assistant

...

    1. .

    2. Add Onboarding process

...

    1. in the Description

...

    1. .

    2. Add an Assignee.

...

    1. Image Added

  1. Change the task's status from Backlog

...

  1. to in Progress and watch the two

...

  1. subtasks appear through the automation we configured!
    The description of your task is updated because of the

...

  1. Copy Within Origin functionality. Your new

...

  1. subtasks have been assigned to the assignee of the task due to the

...

  1. Copy to

...

  1. New functionality and their summary is set as configured by the

...

  1. Set functionality.

...

  1. That's it! JSU automated the work for you! 

...

  1. 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!