...
This page provides Groovy script examples to interact with Asset asset custom fields and Jira issues within your Jira workflows. These scripts can be used in post functions to update Asset asset attributes based on Jira issue transitions.
Tip |
---|
You can directly use |
On this page:
|
---|
...
If you want to assign a date
or dateTime
asset attribute, the value must be in ISO time format (for example, 2018-11-06T10:24:37.513
).
For Date-Time fields,
second
and rest of the value will be purged automatically. Result example:2018-11-06T10:24
.For date fields,
minute
and rest of the value will be purged automatically. Result example:2018-11-06
.
...
If you want to assign a date
or dateTime
asset attribute, the value must be in ISO time format (for example, 2018-11-06T10:24:37.513
).
For Date-Time fields,
second
and rest of the value will be purged automatically. Result example:2018-11-06T10:24
.For date fields,
minute
and the rest of the value will be purged be purged automatically. Result example:2018-11-06
.
...
If you want to assign a date
or dateTime
asset attribute, the value must be in ISO time format (for example, 2018-11-06T10:24:37.513
).
For Date-Time fields,
second
and the rest of the value will be purged automatically. Result example:2018-11-06T10:24
.For date fields,
minute
and the rest of the value will be purged be purged automatically. Result example:2018-11-06
.
...