Page History
Section | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example:
Calculating numberNumber of linked
Bugsbugs (with
Hyperlinkhyperlink)
Count In this example a custom field will be configured for counting the number of Bugs bugs linked to the issue. When clicking of the number the issues should be shown through a hyperlink current issue and display the result as a hyperlink referring to the equivalent search results in the issue navigator.
For this a A valid configuration for this Calculated Text Field is needed. The configuration will look like this:
Text to be parsed
is:- "<a href='"+%{00169}+"/issues/?jql=issue%20in%20linkedIssues(\""+%{00015}+"\")%20and%20type%3DBug'>" + count(filterByIssueType(linkedIssues(),"Bug")) + "</a>"
Note that:
- %{00169} is the field code for field Jira Base URL
- %{00015} is the field code for field Issue key
Once configured and added to the an issue screen, the issue screen result will look like this:
Clicking on the number resulting from the custom field (in this case "2"), will link leads to the issue navigator:
Other examples of this custom field
Incoming Links | ||||
---|---|---|---|---|
| ||||
Related Usage Examples
Content by Label | ||||
---|---|---|---|---|
|