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?

3 answers

3 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/#/

2 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
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