Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Scriptrunner pre populated comment field when changing the status


I am thinking about the best solution for the problem.

When I am changing the status from In progress into Done. I have a popup with comment field:

Screenshot 2019-11-12 at 15.49.09.png

May I pre-populate this field with information about tests fulfilled by the user.

For example:

Screenshot 2019-11-12 at 15.52.54.png

I am not able to use post-function for Workflows because it should work only for one team from 20 that use this workflow. So I thought about Listener or Behaviour from Adaptavist. But the easiest is not working for me:


def desc = getFieldById("comment-wiki-edit")

def defaultValue = """ XXXX """

if (!underlyingIssue?.description) {

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

269 views 0 6
Join discussion

Community Events

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

Events near you