Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue
Status
Tech review

Status
colourYellow
titleReady for review

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
Short description

Returns all attachment URLs of the given issue(s).

Output Statussubtletruetitletext listAvailable since

Status
subtletrue
colourBlue
title2.4.8

UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
attachmentUrls() #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
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:



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list




UI Text Box
sizemedium
typeinfo

Variant where you can additionally define an issue list.


Code Block
languagebash
titleSyntax
linenumberstrue
attachmentUrls(issueList) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
toString(attachmentUrls(subtasks()))


This example returns the attachment URLs of all sub-tasks.

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueList

Status
subtletrue
titleissue list

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list




UI Text Box
sizemedium
typeinfo

Variant where you can additionally define several regular expressions within a text list.


Code Block
languagebash
titleSyntax
linenumberstrue
attachmentUrls(regexp) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
linenumberstrue
toString(attachmentUrls([".*\\.png", ".*\\.jpg"]))


This example returns a list with all attachments that have the file ending png or jpg.

To achieve this, the following functions are used:


Code Block
linenumberstrue
toString(attachmentUrls(["(.*\\.png|.*\\.jpg)"]))


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:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
regexp

Status
subtletrue
titletext list

A text list with valid regular expressions.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list
.




UI Text Box
sizemedium
typeinfo

Variant where you can define an issue list and a text list for regular expressions.


Code Block
languagebash
titleSyntax
linenumberstrue
attachmentUrls(issueList, regexp) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
linenumberstrue
toString(attachmentUrls(subtasks(), [".*\\.png", ".*\\.jpg"]))


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:


Code Block
linenumberstrue
toString(attachmentUrls(subtasks(), ["(.*\\.png|.*\\.jpg)"]))


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:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueList

Status
subtletrue
titleIssue list

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).
regexp

Status
subtletrue
titletext list

A text list with valid regular expressions.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titleReady for review

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns all attachment URLs of the given issue(s).

Output

Status
subtletrue
titletext list

Available since

Status
subtletrue
colourBlue
title2.4.8

Label