I want to have a pre-defined value comment on every transaction.
Not a comment after the action is done but during the transaction
My issue is moved from A to B and when pressing go_to_B I want a predefined value shown
ex: Enter the check you have done:
so that users can enter a comment after, And I want all of this to end up under Comment (not a custom field)
Is this possible?
Hi @Helen Ahlberg are you familiar with Behaviours (https://scriptrunner.adaptavist.com/6.20.0/jira/behaviours-overview.html)?
You can use this code in Behaviours script
def predefinedComment = "some comment"
OK - but this will give me a pre-defined comment when just creating the issue?
We have behaviuor scripts that populate text in the Description field but this only happens with create issue.
My user want to have different pre-define commenttext when tranfering the issue in its workflow - is this possible?
is this the Jira 'field' comment?
Yes, behaviours works on transitions similary. You can use conditions in your source code (transition name, target status name...)
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