Unfortunately due date only accept a concrete date while manually editing the field. However, if you need to set the due date in the same way for all issues within an issue type ( I mean, all bug need to due on 2 weeks) you can do it programatically by using a custom postfuction, event listener or automatio rule provide by a third-party app (e.g: Script Runner, Automation for Jira, Jira Workflow Toolbox, ...)
Hope this helps,
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