Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scriptrunner pre populated comment field when changing the status

Hi,

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) {
desc.setFormValue(defaultValue)
}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

45 views 1 3
Read article

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