This function returns the remainder after division of the dividend by the divisor.
Bash
modulus(dividend, divisor) #Output: Number
The number divisor cannot be equal to 0.
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Set a date on the same week day on alternate weeks |
|
addDays() nextDayOfTheWeek() modulus() weekOfTheYear() datePart() | |||
| Create several issues combining fields |
|
nthElement() toStringList() modulus() count() ceil() | |||
| Create issues randomly |
|