You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This function returns a text list with the URLs of all attachments of the current issue.

Syntax
attachmentUrls() #Output: Text list
Examples
Parser expressionDescription
toString(attachmentUrls())

This example returns the URLs of all issue attachments, e.g.;

https://www.test.com/jira/secure/attachment/29298/icon.png

To achieve this, the following functions are used:

Output

This function returns a TEXT LIST


Variant where you can additionally define an issue list.

Syntax
attachmentUrls(issueList) #Output: Text list
Examples
Parser expressionDescription
toString(attachmentUrls(subtasks()))

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

ParameterInput (data type)Description
list

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


Variant where you can additionally define a text list.

Syntax
attachmentUrls(text list attachments_regexp) #Output: Text list
Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT LIST

The URL of attachments is returned from issues with names matching a regexp in attachments_regexp.


This function returns the URL of attachments of issues in issue_list with names matching a regexp in attachments_regexp.

Syntax
attachmentUrls(issue list issue_list, text list attachments_regexp) #Output: Text list
Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT LIST