You'll need some code to do this
To get started on that, at what point in the lifecycle of an issue do you want to do this?
(including the decision on which comment, as they're not a field, they're a collection of, well, comments).
Yes, that box is a series of comments, so you need to ask "which one".
I think you've partially answered it - when you move an issue through a workflow transition, you can go through a screen, which has a comment box on it. Is that what you want to duplicate? Or do you just want "the last comment made before the transition" (might be useful if the transition does not have a screen)
Either way, you'll need a bit of code in a post-function to select and read the comment and duplicate the content into your field. I'd do it with the script-runner of course.
We added scriptrunner and I put this as a post function but all it does is add this as the comment to the other field.
I'm copying text from the comment box to a field named "Division Manager Comments".
project = Dev-Change Management and issueFunctionin lastComment("inRole Division Manager")
The Division Manager enters text into the Comments field. I need to copy that comment into a custom field named "Division Manager Comments". When I put scriptrunner text in as a transition post function it just puts the "project = Dev-Change Management and issueFunctionin lastComment("inRole Division Manager")" string in the "Division Manager comments" field.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs