Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 2.5.4


Section


Column
width600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel2



Column




Features used to implement the example



Example: Number of linked bugs (with hyperlink)

Count the number of bugs linked to current issue and display the result as a hyperlink referring to the equivalent search results in the issue navigator.

A valid configuration for this Calculated Text Field:

Text to be parsed

:

  • "<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 Jira Base URL
  • %{00015} is the field code for Issue key


Once configured and added to an issue screen, the result will look like this:


Clicking on the number leads to the issue navigator:




Other examples of this custom field

Incoming Links
pageCalculated Text Field
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "calculated-field" and space = currentSpace()