How can we copy the text in the comments box to another field. We don't see the comments box as an option when copying data from one field to another field.
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).
This is the comment box that shows on every screen. After an individual enters comments and selects to move the task to the next status we want to capture the text and put it into another custom text field
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")
It looks like you're new here. Sign in or register to get started.