🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Features used to implement the example



Example: Set "Due date" to current date at issue creation if not initialized

We wanted to add a due date to new issues and managed to do this with a post-function: Field Due date will be assigned with the calculation result of the formula: {Current date and time} 

It workes fine but we recently found out that it does allways set the due date to current day, even if you enter a different one in the create issue mask. So here's the question. Is it possible to alter the function to only set the due date if none is entered?

Yes, it is possible to do it. You simply have to use post-function Set a field as a function of other fields to evaluate whether "Due date" is set or not before assigning "Current date and time" to due date. Now I show you a screenshot of how to configure the post-function Set a field as a function of other fields to implement the solution:

Alternative expression

I'm in need of changing the due date to current date +30 days. You can do it with this post-function configuration:




Other examples of that function

Related Usage Examples