🚀 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.

On this page


Features used to implement the example



Example: Set field depending on time passed since issue creation

I want to be able to set a multi-select (Yes/No) field based on whether the creation time is within the last 12 hours so that I can flag in an issue that this is a same day closure. This will be a post-function in the Resolve transition. How can I do the date/time comparison and the setting of the field?

You can do it using Copy parsed text to a field post-function with the following configuration:


Text to be parsed used is:  {00057} - {00009} <= 12 * {HOUR} ? "Yes" : "No"

Note that:

  • {00057} is field code for "Current date and time"

  • {00009} is field code for "Date and time of creation"

Once configured, "Resolved Issue" transition looks like this:





Other examples of that function

Related Usage Examples