I have a script to create a new issue on a transition and copy the data from certain fields to the newly created issue. The new issue is created as expected, but the fields do not copy.
Here is the part of the script that does not want to work.
copy fields from current issue to new issue
newIssueKey.reporter = currentUser();
newIssueKey.customfield_11000 = customfield_11000;
newIssueKey.fixVersions = fixVersions;
Anyone have any pointers here?
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events