I'm trying to crate a rule where the issue is cloned to another project.
Both projects has the same mandatory 2 custom fields.
By default, the Clone Issue does not clone custom fields with its values and therefore fails, so I'm wondering could someone help me here.
I've added JSONView and the fields on original task are below:
fields: {
customfield_10802: "ABC",
customfield_10807: "Distribution",
names: {
customfield_10802: "System",
customfield_10807: "Module",
The question is, how can I clone the issue with both customfields and their values?
I was able to fix this by adding following under More Options:
{
"fields":
{
"customfield_10802":"{{issue.customfield_10802}}",
"customfield_10807":"{{issue.customfield_10807}}"
}
}
That's it.
Hi Valdis,
This should work without you having to supply any additional configuration. However you will need to have the destination project in the "Restrict to projects" field in the rule details.
Cheers,
Scott.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nah, still fails. :(
I added both projects in "Restrict to projects"
Source is Service Desk project, other is Jira Software project..
Error creating issueSystem is required. (customfield_10802), Module is required. (customfield_10807)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Scott Harwood response from the support was:
There are some limitations with our cloning functionality, but I believe copying custom fields should work.
But only way I did fix it, was adding JSON Script to set the values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Valdis,
put all custom fields you need to copy in a view screen, the fields need be on a screen of the destination issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lucas,
I'm not sure I got what you mean.
Both fields are on create issue screen and required while creating the issue in source and destination project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.