Is this the best way to accomplish it? The above link is 5 years old...
We're running Jira 4.4. Thanks!
If you are happy with due date set immediately after the issue is created I would write a simpe post workflow action and attach it to the initial (create) transition of the workflow. You have to make sure that the place for such post workflow action is correct (ideally just after "Creates the issue originally." built-in Post Function. As it's executed on the server side you can do various stuff there easily (like set this date depending on various circumstances - issue type, SLA, priority, etc.) and that will be less fragile as server-side API changes slower than UI.
JIRA Behaviours Plugin also may help you - although I haven't seen there the exact functionality you want, it's easy extensible with Groovy scripts (no compilation required).
yes, you might still do this and I'm doing this still in Jira 6. e.g. for the description field, you might use AJS code like this for your field description:
<a href="#" onclick="AJS.$('#description').value='FIELD DEFAULT TEXT'; return false;"><b>click here to set default text</b></a><br/>
you might also change your JIRA Template if you're firm with customizing your env:
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs