Issue Entity Property in Search Results

Hi,
Is it possible to add an issue entity property extraction as a column in the standard issue search results table?
In this example “numberOfSupportCases” as an alias to an issue entity property extraction of “number” type. I’d like to add that as a column to the search results.

image

1 Like

Hi @SteveYoungs,

I hope you are well.
I have a piece of good news for you. It is possible to solve your issue with the read-only issue field, however, I agree that the solution is a bit tricky.

In the beginning, let’s assume that the name of our property is statistics and the shape is:

{
    "supportcases": 10
}

We can register a pair of extraction and read-only issue field:

    "jiraIssueFields": [
      {
        "description": {
          "value": "The test read-only issue field."
        },
        "type": "read_only",
        "name": {
          "value": "No. of support cases"
        },
        "key": "support-cases",
        "property" : {
          "path": "supportcases",
          "key": "statistics",
          "type": "number"
        }
      }
    ],
    "jiraEntityProperties": [
      {
        "keyConfigurations": [
          {
            "extractions": [
              {
                "objectName": "supportcases",
                "type": "number",
                "alias": "support cases count"
              }
            ],
            "propertyKey": "statistics"
          }
        ],
        "entityType": "issue",
        "name": {
          "value": "Statistic Document"
        },
        "key": "statistics-entity-property"
      }
    ]

The result is:

Let me know if you are able to implement that solution in your app.
Have a nice weekend.

1 Like