Does anyone know if the free development instance (cloud version) allow you to replicate your existing cloud production site? Or do you have to create your production site frome scratch under your development site ?
Please advise...
Thank you everyone
Matthew
An approach would be to create as many postfunctions as the combinations of projects and issue types you have.
Well, that's not exactly what I wanted, but for now, as long as I have less than 10 combinations your method does the trick. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you want something like:
issue.setIssueTypeId(3) ... etc
Ah... I think I maybe understand what you are asking. You should be able to get the selected target project key using:
static import com.onresolve.scriptrunner.canned.jira.utils.AbstractCloneIssue.FIELD_TARGET_PROJECT
params[FIELD_TARGET_PROJECT]
(untested).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie, I want to piggy back on this issue. Hope this is OK? I want the same scenario. Basically this: * When user moves an issue to a status. I will pop up a screen. Here he can select the project to clone this issue to from a custom field. * Once the issue is moved to this status. I want to use your clone and link post function to generate a new issue in same project with "cloned by" links. * I then want to use the "additional actions" to get the selected project and move it to the wanted project. So basically not pre-selecting the project on the post function but allowing the user to select it during transition to status. Is this doable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.