You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Using Behaviors and code that is on Scriptrunner site
User are experiencing from time to time when they make changes the text reverts back tpo the default that is being set. There have been reports that when a user clicks into another field the Description field reset to the defautl text. Looking for posible causes or maybe something in the code.
Additonal testing it appears that if you make the change to the default and then go to the Assignee field and set the assignee the field goes back to default value - but if you click the undo arrows in the lower right of the field and select undo - your changes are back.
Hi Brian,
Is this an initialiser function ?
I would suggest to change it into
import static com.atlassian.jira.issue.IssueFieldConstants.* def desc = getFieldById(DESCRIPTION) if (! desc.getValue() ) { desc.setFormValue("This is a default value") }
regards, Thanos
This did fix the issue on creating an issue that it does nto revert back to the original text. However there are two new issues that cropped up
This is hte code that I have in place
import static com.atlassian.jira.issue.IssueFieldConstants.*
def desc = getFieldById(DESCRIPTION)
if (! desc.getValue() ) { desc.setFormValue("""h2. Narrative
* As a
* I want
* so that
h2. Acceptance Criteria
Enter the Acceptance Criteria here.""") }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.