Versions
This function returns a number list with the start dates for all versions in the current issue.
startDates(versions) #Output: Number list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns a number list representing the list of start dates timestamps for all Fix Version/s in the current issue, e.g. 1.59174E12 To convert the timestamp to a text please have a look at Dates, times and time zones |
|
Bash
|
This example returns the start date in text form. Since multiple values might be found we use the function first() to take the first element of the number list. Additionally the following functions are used |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text list with valid version names. Multiple versions can be added as a comma-separated list of version names Usually this value is retrieved from a field code. |
Output
This function returns a number list representing timestamps.
Projects
startDates(versions, projects) #Output: Number list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns a number list representing the list of start dates for affected versions for the project with key "CRM". To convert the timestamp to a text please have a look at Numbers, dates and times |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text list with valid version names. Multiple versions can be added as a comma-separated list of version names Usually this value is retrieved from a field code. |
|
|
text |
Text containing valid project names or keys. |
Output
This function returns a number list representing timestamps
📚 Use cases and examples
| Use case | Workflow function | Parser functions |
|---|---|---|
| Set fix version based on its start and release date |
toString() textOnStringList() unreleasedVersions() startDates() releaseDates() first() |