Versions Compared

Key

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

...

This post function creates a new issue, linked to the origin issue (the one , that triggered the 'Create a Linked Issue' triggers the post function). Any number of fields can be copied to the new issue and within the origin issue.

...

  • Ignore precondition (default): Every precondition is ignored which means that the post function will always be performed

  • True: Precondition must be true to execute a post function

  • False: Precondition must be false to execute a post function

You can learn Learn more about preconditions in Workflow Preconditions.

...

Typically this checkbox custom fields field won't appear on the normal screen of the issue. You can later set them back to the original (default) value (see Copy within the Origin Issue).

...

If you select the Move option, it will appear that attachments added on the transition screen of the origin issue were added directly to the new issue. 

Mandatory

...

Values for the New Issue

Here you configure the mandatory fields for an issue. Be aware that your Jira configuration might have additional required fields; you should set them with Copy from the Origin Issue to the New Issue.

...

The summary Summary will always be copied from the origin issue to the new issue. The reporter of the new issue will always be set to the user who triggered the current transition (and therefore this post function). However, you could overwrite them again later with Copy from the Origin Issue to the New Issue

...

  • Inside same project: A new issue will be created in this same project

  • Project variables: If you use the workflow with the 'Create a Linked Issue' post function in several Jira projects, you might choose  'Project variables'. You then can configure in each of those Jira projects a different target project for the newly created issues. See Project Variables to learn more.
    The format of the project variables is:

    Code Block
    createLinkedIssueTargetProjectKey.<Workflow Name>.<Workflow Transition Nummer>=<Projekt Key>

...

The new issue will be created with the same user who triggered the transition on the origin issue. If that user does not have the necessary permissions in the target project they will encounter an error. Similarly, if some validators prevent the creation of the new issue.

  • Selected Project:

...


  • A new issue will be created in the selected project

  • Anchor
    target-project-by-cf
    target-project-by-cf
    Defined by custom field selection:

...


  • A new issue will be created in a project defined in the selected custom field. Available fields of types: single select, radio buttons, project pickers

Example

An administrator You can create a field "Destination Project" with several different values which will represent the project key (only capital letters) or project name (capital and small letters are supported). 

...

Create New Issue as User

If you don't specify anything heredo not specify a user, the create operation will be performed under the same user , who triggered this post function on the origin issue. Thus that That user must have the necessary permissions to create the new issue. However, in In some restrictive setups, the user might not be allowed to create new issues in the target project; they might not even see the target project.

With 'Create new New Issue as User' you can specify a different user account that owns the necessary permissions. Usually, this user account is assumed to be only technical, with broad permissions, but not used to log into Jira for normal activity.

...

The Create a Linked Issue post function allows you the create new issues , which that are connected not only with an issue link , but instead also in a parent / subtask, as well as epic / issue in epic relation.

See Related Issues for more explanation on this topic (especially for creating subtasks)details.

Anchor
issue-type-by-cf
issue-type-by-cf
Issue Type

...

Issue type can be set to:

  • Selected issue type: A new issue type will have a particular issue type. Be aware, that the The issue type you configure here must be available in the target project.

  • Defined by custom field selection: Similar to Target Project, an issue type can be defined by the value selected by the user in a dedicated custom field. Be aware, that the The issue type you provide in this custom field must be available in the target project.

...

A user can select which issue type should be created.

...

As a Jira administrator, you must create this custom field

...

, for example, Destination Issue Type

...

. Carefully note the values of this custom field. These values have to match the issue types available in the target project.

...

Configure fields

In JSU With JSU’s Create Linked Issue post function, you can define configurations to modify fields on the origin and new issue, only available for Create Linked Issue post function. 

Definition of terms for the configure fields objects

...

  • Origin issue: Issue that triggered the post function

  • New issue: Issue to be created by the post function which that was triggered on the origin issue

...

Click Add Configuration and insert select the operation you want to execute. The following operations are available:

...

Your tasks to complete the onboarding would then include: 

  1. Create new contract 

  2. Order new computer

First, you create your origin issue which you’ll call Hiring a Marketing Assistant. Instead of manually creating linked issues and copying/setting field values, JSU’s New Set of Operations can help automate these tasks.

On adding the "Create Linked Issue" post-function to the "In progress" transition, configure the fields you prefer with the help of the three New JSU operations:

  1. Copy a field value from the origin issue to a new linked issue

  2. Copy the value from one field to another field within the origin issue, and

  3. Set the value of a field in a new linked issue

First, you can copy a field from the origin to the new issue. Let's copy the assignee of the task to the assignee of the subtask. Then, you can copy a value from a field of the origin issue to another field of the origin issue. We'll try it by copying the summary to the description and prepending it with a dash. Configure the last operation by setting a value for the summary of the new issue. We'll set it to "Create contract"

When you are done with have completed your configuration, add your post functionclick Add at the bottom of the page. You can do the same for as many sub-tasks as you want to have automatically created. Finally, publish your workflow and go back to your issue. Put it Move the issue to

Status
colourBlue
titlein progress
and see the magic of the JSU's new set of operations!how JSU applies the operations.

Position of the post function

...