When we clone the ticket from one project to another, we need the values (Issue ID and Project) to be auto populated in the reference project.
Issue ID from parent project should be updated in External Issue ID field.
Project name from parent project should be updated in Requesting Project field.
Hi @mummareddy supriya You need to create an automation rule for cloning an issue in second project. In action item >> Select Clone >> In Choose field to set select both the field External Issue ID and Requesting Project
External Issue ID put smart value : {{issue.key}}
Requesting Project : {{issue.project.name}}
Thanks
@Vikrant Yadav in the same way i created the automation rule .as shown in the attachment.after clone the ticket i'm unable to Find External Issue ID .may i know the reason please
In Choose field to set ,i'm unable to find Requesting Project
After cloned the reference image is attached here ,please find below
kindly suggest me here.thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@mummareddy supriya It seems that field is not supported, that's why not showing in this dropdown.
May I know the field type, is it an external plugin field? Field is mapped with the project, visible on edit screen ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vikrant YadavThe External Issue ID field exists in the parent project.I need to clone it to the another project.This field is present in the parent.Attaching the images here, please guide me.
.
thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@mummareddy supriya Try to add this field in EPP project as well.
If field is not visible, you can try to add JSON in Additional field :
{
"fields": {
"customfield_10307": "{{issue.key}}"
}
}
Check audit log for error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vikrant Yadav its it possible to get the project url using automation rule instead of project name,if yes can you kindly help me here.Now with you suggestion i'm able to get External issue ID
External Issue ID put smart value : {{issue.key}}
Requesting Project : {{issue.project.name}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vikrant Yadav can you please suggest me here like how can i get project url instead of project name.
thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@mummareddy supriya Here is the smartvalue :
project url : {{baseUrl}}/browse/{{project.key}}
issue key url : {{baseUrl}}/browse/{{issue.key}}
Hope it works for you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @mummareddy supriya
If you're seeking for an easier way to clone issues and map the fields between source and clone, you can try our app Elements Copy & Sync that allows you to clone and sync a full hierarchy of issues with all their content (summary, description, custom fields, comments, attachments, etc).
You can check our guide here.
The app is for free during 30 days (and it stays free under 10 users).
Kind regards,
Clara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mummareddy supriya ,
First, you need to get the issue ID in the parent issue and store that issue ID in a text field. If you do not have a text field to store the issue ID, create a new one. To get the issue ID in the parent issue ID field, please use the jira Automation or ScriptRunner plugin.
After obtaining the issue ID, create an automation rule. When an issue is cloned or created, copy the parent issue ID from the cloned or linked issue.
"The project name from the parent project should be updated in the Requesting Project field." This can also be achieved using automations.
Let me know if you have any questions on this.
Regards,
Geethanjali
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.