Current issue
This function returns a text list with all attachment URLs of the current issue.
attachmentUrls() #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the URLs of all issue attachments, e.g.; |
Output
This function returns a text list
Issue list
Variant where you can additionally define an issue list.
attachmentUrls(issueList) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the attachment URLs of all sub-tasks. To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
Output
This function returns a text list
Regular expression
Variant where you can additionally define several regular expressions within a text list.
attachmentUrls(regularExpressions) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
This example returns a list with all attachments that have the file ending png or jpg. To achieve this, the following functions are used: |
|
This example returns the same list like above but by combining both regular expressions to a single one. To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text list |
A text list with valid regular expressions. |
Output
This function returns a text list .
Issue list regular expression
Variant where you can define an issue list and a text list for regular expressions.
attachmentUrls(issueList, regularExpressions) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
This example returns a list with all sub-tasks' attachments that have the file ending png or jpg. To achieve this, the following functions are used: |
|
This example returns the same list like above but by combining both regular expressions to a single one. To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
Issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
|
|
text list |
A text list with valid regular expressions. |
Output
This function returns a text list
📚 Use cases and examples
| Use case | Workflow function | Parser functions |
|---|---|---|
| Send email with the URL of the attachments included in the description |