Skip to end of banner
Go to start of banner

How to set a custom field using Clone plus for Jira

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

This article explains the two ways to set a custom field on the Clone + and Clone ++ actions using Clone Plus for Jira App

Instructions

To clone a custom field to an issue, we have to use the custom field id (or) name in the configuration file.

Setting the custom field based on customfiield_id

For example: If the custom field id is 10700, then specify customfield_10700 in the configuration file.

1.set.customfield_10700 = 25/DEC/18
1.ignoreFields = customfield_10700


Setting the custom field based on name

If the custom field name is short/simple then use the name as is.

For example: If the custom field name is Rank, then use the below mentioned code.

1.set.Rank = "Grade-1"
1.ignoreFields = Rank


If the Custom field name has multiple words in its name like, Planned delivery date then follow the below instructions:

Need to escape each and every space character with a '\ ' only when the custom field name has multiple words along with a space(s) character(s) in it.

Here we are providing this example for Clone+ (custom1) operation so, we have to set the command with prefix '1'. 

Include the below code in configuration page.

1.set.Planned\ delivery\ date = 31/MAR/19

As a result, the date 31/MAR/19 will be set to your custom field value in the newly cloned issue.


Please see the below image to know how the custom field name gets displayed in a JIRA issue.

Ignoring the fields set on the clone plus configuration page

In order to hide the custom fields which are already set in the clone plus configuration page form the clone+ and clone++ custom actions we can use ignoreFields parameter as shown below.

1.ignoreFields = Planned\ delivery\ date



  • No labels