Ability to copy issues

Hi,

I have the following work flow that I am unable to figure out how to accomplish in youtrack.  Is this capability available?

1. Create an issue in Project A and assign it to Fixed Version "1.0 - Android".  This issue is created as "projectA-123".
2. I want to create a copy of 'projectA-123' in Project A but it would be assigned a Fixed Version of "1.0 - iOS".

Basically, I want to be able to batch copy a group of issues based on the above workflow.

The reason why I need this is that we create use-case issues for a project for an Android version of an app that also apply to the iOS version of the app and it would be a lot less time-consuming if we could just copy them at least between projects.

Thanks!
1 comment
Comment actions Permalink
Please look at the request "Clone issue" and related issues: http://youtrack.jetbrains.com/issue/JT-4024.

By the workflow you can simply create the issue copy:
rule Create a copy 
 
when becomesReported() { 
  var copy; 
   
  if (Fix versions.contains({1.0 - Android})) { 
    copy = loggedInUser.createNewIssue(project.shortName); 
    copy.summary = summary; 
    copy.Fix versions.add({1.0 - iOS}); 
  } 
   
}
prettyPrint();
0

Please sign in to leave a comment.