Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Can I auto-create a Jira issue from another issue when its status changes and copy required fields?

Can I auto-create a Jira issue from another issue when its status changes and copy required fields?

Phương Hoàng Thị Mai
December 25, 2025

Specifically, I want to automatically create Issue A when another issue (Issue B) transitions to Status C on Jira DC. During the creation of Issue A, the automation should copy data from Issue B into Issue A.

I’m currently using ScriptRunner to handle the logic. However, the automation creates Issue A first and only then populates the fields. Some of those fields are required, so Jira blocks the issue creation before the values can be copied over.

Is there a way to populate required fields at creation time (or otherwise work around this limitation) so that the issue can be created successfully?

4 answers

3 votes
Izabela França
Community Champion
December 25, 2025

Hello @Phương Hoàng Thị Mai ,

You could use a Jira automation to achieve this.

The key point is that, in the clone work item action, you must select all fields that are required for issue creation and ensure they are copied from the original issue.

Here is an example:

clone.jpg

Would Jira automation work for you?

Phương Hoàng Thị Mai
December 25, 2025

Unfortunately, I’m currently using Jira Data Center, so I’m not sure whether your instructions apply. Is there any workaround or alternative approach for Jira DC?

Izabela França
Community Champion
December 26, 2025

Hello @Phương Hoàng Thị Mai ,

I believe it is also possible to use this action in automations for Jira Data Center. Here is a link to an offical Atlassian document about cloning issues in Data Center.

1 vote
Bảo Phạm Gia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 25, 2025

You must use IssueInputParameters to collect all the data (including required fields) in one place before calling the create command.

Do not create the issue first and then try to set the values, as this will fail Jira's validation checks

0 votes
Clara Belin-Brosseau_Elements
Atlassian Partner
December 31, 2025

Hi @Phương Hoàng Thị Mai

As an alternative to ScriptRunner, I can suggest trying our app Elements Copy & Sync. It will create the target issue and injects field values in the same operation, instead of “creating first, updating later”.

These are the steps you should follow to configure the app:

Create an Operation that creates Issue A

  1. Go to Administration → Manage apps → Elements Copy & Sync → Operations

  2. Click Add operation

  3. Choose Create a local issue

  4. Configure:

    • Target project (where Issue A will be created)

    • Target issue type (Issue A type)

Configure field copy (this is where required fields are solved)

In the same operation, configure the Fields section:

  • Copy values from Issue B → Issue A for all required fields
    (Summary, Description, Priority, custom required fields, etc.)

  • For required fields that should not be copied, set:

    • A static/default value, or

    • A value based on another field

Trigger the operation on the workflow transition to Status C

  1. Edit the workflow used by Issue B

  2. On the transition that moves Issue B to Status C, add a Post-function

  3. Select Elements Copy & Sync: Create and link issue

  4. Choose the operation you created

  5. Publish the workflow

You can find all the detailed steps here in the documentation.

Let me know if you have any question.

0 votes
Tinker Fadoua
Community Champion
December 25, 2025

@Phương Hoàng Thị Mai 

What is the relation between issue A and issue B? (Parent/Child)

Little bit elaboration will help.

Best,

Fadoua

Phương Hoàng Thị Mai
December 25, 2025

The relation between issue A and B is "Created by".

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events