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 in minutes.





Related use cases





JWT feature

Workflow function

Jira expression condition

Jira expression validator

Parser functions
Use case description

Make sure that the current user has uploaded a attachment during a definite period of time.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Complexity






Status
Tech review

Style guide