Releases: rickding/jext
IssuePermission
Grant issue permission automatically when events happen.
- Add event listener
- Use script file: com.jext.event.Generic.groovy
FieldPermission
Switch issue type automatically when events happen, which implements the field editing permission.
Add event listener
Use script file: com.jext.event.Generic.groovy
Import modules
Set the plugin dependencies.
DueWorkdays
Field DueWorkdays, which calculate the workdays between now and due date.
n: the due date has not arrived.
0: today is the due date.
-n: several work days has been passed since deadline.
Note: if the issue is resolved or closed, use the resolved or closed date rather than now.
It can be referenced in 3 ways:
-
Add script field, input script code:
import com.jext.field.DueWorkdays
return DueWorkdays.getDueWorkdays(issue) -
Add script field, reference the predefined script file:
com/jext/field/DueWorkdaysField.groovy -
Add script field, use the build-in template:
DueWorkdays