Versions Compared

Key

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

...

Info

This is the documentation

...

for JSU for Jira Cloud. If you are using JSU on Jira Server/Data Center,

...

see the Server/Data Center documentation.

...

Goal

Save your team’s time and effort by automatically copying attachments to all of an issue’s subtasks

Scenario

Imagine you are a Manager and your team was assigned a creative project. You have prepared a Creative Document containing details of the project and have uploaded this in a Jira issue.

...

 You have also created

...

subtasks for each team member to work on.

...

 

To ensure that all team members are aware of the details of the project, you would like to attach this Creative Document in all sub-tasks

...

. All you need to do is configure the JSU Copy/Move attachments post

...

function

...

and it will copy the document from the parent issue to your team’s

...

subtasks.

Image Removed

...

JSU Components

Copy/Move attachments post function

How to configure this workflow

  1. On the left side menu, go to project settings and choose the option Workflows. Then on the right-hand side, click the Edit button to edit your workflow. 

  2. Click Text view, then select the “in progress” 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 Text mode. If you haven't already, switch the workflow viewer to Text mode.

  3. Select the

    Status
    colourBlue
    titlein progress
    transition. 

  4. Select the Post Functions tab, then click Add Post Function.

  5. Select the " Copy/Move attachments (JSU) " post - function then click Addat the bottom of the page.

  6. Configure the post function:

    1. Choose the Parent/

      Sub-task

      Subtask issue relation since you want the post function to perform when the parent issue is transitioned and for the attachments to be copied

      on

      to the

      sub-tasks

      subtasks

    2. Select the

      "always

      Always copy attachments

      "

      option from the drop-down menu

      to have

      so that all the attachments you will add during the transition on the transition screen are copied through to the

      sub-tasks. In this drop-down, you

      subtasks. You have the option to select a field of your parent issue to have a value,

      in order

      for the attachments to be copied to the sub-tasks.

      By configuring

      If you use this option, the attachments added on the transition screen will only be copied to the sub-tasks if that field has a value.

    3. Follow the same steps if you want the attachments that existed in your parent issue before the transition started to be copied through

      too

      as well

  7. Click Add

    to create your post-function

    .

  8. Publish your workflow.

    Now, test

Test your new post function

...

  1. Go to your issue and create

    sub-tasks

    subtasks for your team members. At this stage, you will need to assign a transition screen to the

    "In Progress" transition in order

    Status
    colourBlue
    titlein progress
    transition to enable the rule you have configured in your post

    -

    function

    "copy/Move attachments added during the transition". Configuring screens is a functionality offered by Jira out of the box and here is a quick way of doing it for this case

    .

  2. Move your parent issue to

    "In Progress" and

    Status
    colourBlue
    titlein progress
    then upload the creative document on the transition screen you created. Refresh the screen and see what you have achieved with JSU! Open your

    sub-tasks

    subtasks and check your attachments. The document is there, and

    now

    the whole team can start working without going back and forth

    to

    on the parent issue.

Note

Attention! Make sure you edit the project's attachment permissions to be able to copy/move attachments.

...

...

How-to video

Watch this video to see all of this in action*:

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width

...

600px
urlhttps://www.youtube.com/watch?v=UbCNZDGU-x0&t=5s
height

...

350px

This was only a sample of JSU in action. Subscribe to our YouTube channel and access more JSU use cases.
See also the app documentation for some more examples and configuration screenshots.
*The video is created on the Jira Server environment. 

...