Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,625
Community Members
 
Community Events
168
Community Groups

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

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

2 answers

3 votes
John Funk Community Leader Aug 15, 2022

Hi Akshith,

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

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 Leader Aug 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. 

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

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.

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 Leader Aug 16, 2022

Okay - try the code above then. 

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

John Funk Community Leader Aug 17, 2022

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

John Funk Community Leader Aug 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. 

Nothing in the history as well

John Funk Community Leader Aug 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

Hello @Akshith Rekulapelli,

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

5,078 views 18 32
Read article

Atlassian Community Events