Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to clear the field value while cloning the issues in JIRA?

@Akshithrekulapelli August 15, 2022

Is there any way to clear the field value while cloning the issues in JIRA?

4 answers

4 votes
John Funk
Community Champion
August 15, 2022

Hi Akshith,

If you use Automation for Jira to clone the issue, then, yes you can. 

@Akshithrekulapelli August 16, 2022

Hi John,

Can you explain how can I achieve this using automation for Jira? I want to clear some field values when we clone an issue.

John Funk
Community Champion
August 16, 2022

Sure - You can create a manual automation trigger. Then the action is Clone Issue. 

There can select a field that you want to clear, and just put no value in the field. 

@Akshithrekulapelli August 16, 2022

I have created the rule but while cloning it is still copying the values 
I have attached the rule screenshot please let me know if I need to do any changesCapture.JPG

John Funk
Community Champion
August 16, 2022

Which field are you trying to clear? 

If the Due Date, click on More Information then replace what is there with this:

{
    "fields": {
        "duedate": null
    }
}

You can do the same if it is the Description field, just replace duedate with Description.

@Akshithrekulapelli August 16, 2022

Assignee and Description. I thought that the field (Description) will be cleared because as per the screenshot it is showing "This field will be cleared" But still while cloning the issues I can see the  same assignee and the description on the clone issues

John Funk
Community Champion
August 16, 2022

Okay - try the code above then. 

@Akshithrekulapelli August 17, 2022

I tried the above code to clear the description still not workingCapture.JPG

John Funk
Community Champion
August 17, 2022

So it clones the ticket, but the Description field is still populated? 

@Akshithrekulapelli August 17, 2022

Yes

John Funk
Community Champion
August 17, 2022

Can you look into the history of the issue to see if something else is populating the Description field after the issue is created. 

@Akshithrekulapelli August 18, 2022

Nothing in the history as well

John Funk
Community Champion
August 18, 2022

There's not a lot else I can help you with then, I am afraid. I would suggest opening a support ticket with Atlassian:

https://support.atlassian.com/contact/#/

3 votes
Marlene Kegel - codefortynine
Atlassian Partner
August 16, 2022

Hello @Akshithrekulapelli,

I am Marlene from codefortynine.

Another option would be Deep Clone for Jira.

With Deep Clone it is possible to edit the issue (also clearing field values) while cloning.

  • Simply click "Open Field Editor" in the Deep Clone dialog.
  • Set the fields to edit.
  • And clone the issue.

deep-clone-jira_field-editor4.pngdeep-clone-jira_field-editor3.png

0 votes
Chris Bezile October 10, 2025

Here's the process I used to clear required fields when an issue is cloned.  These fields are required when a new bug is CREATED, but I've been able to clear them when a bug is CLONED.  The intent is that the user will enter fresh values, however I haven't yet been able to implement a transition screen or something that enforces the user enter fresh values.

1. update Bug Field Configurations so field A and field B are Optional fields
2. update Bug workflow to ensure those fields are Validated to have values upon the CREATE transition.
3. build a Jira Automation rule to look for Bug created with a “clones” issue link type
-- when: issue is created
-- condition: issuetype = Bug AND issuelinktype in (Clones)
--action: SET the Affects Versions field (leave it empty)
---use ‘More options’ to set the Severity field to null. 
{
"fields": {
"customfield_10115": null
  }
}
(not sure why but it won’t clear both fields and keeps validating Severity as ‘required’ when trying to Clone unless I configure the rule this way).

0 votes
Sanjivani Wayal
Contributor
February 16, 2023

HI Akshith,

 

Did you get any resolution for making field as null i want to delete the history after cloning the issue

Suggest an answer

Log in or Sign up to answer