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

Compare with Current View Page History

Version 1 Next »

On this page

Use case

This use case is useful to check if the current user has uploaded a attachment during a definite period of time. With Jira expressions it is currently not possible to compare the number of attachments before and after a transition.

Configuration

Jira expression*

issue.attachments[issue.attachments.length-1].created > new Date().minusMinutes(2)

At least one attachment must has been added in the previous two minutes before executing the transition.

By changing 2 you can increase or decrease the time range.



If you still have questions, feel free to refer to our support team.