Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Calculating Value Score for Epics with Jira Align Enterprise Insights

If you have Jira Align Enterprise Insights and want to create a report that with the Value Score that is displayed on the Value tab of Epics, you may have been left scratching your head on how to do that.

Screen Shot 2022-09-21 at 2.19.57 PM.png

The current_dw.Epic Value table within Enterprise Insights contains score value for each question answered on the Value tab for an Epic. The formula for the Value Score is relatively simple, but there is a slight catch which I will get to in a moment.

Here is the formula for Value Score:

Value Score = Average of Answer Score of all scorecard questions for an Epic

Now to the slight catch...In Jira Align, Value Score is a decimal value with one place (tenths). Here is an example of a decimal Value Score of an Epic in the UI. 

 

Screen Shot 2022-09-21 at 2.29.07 PM.png

The values in the Answer Score column are integer values (whole numbers).

Answer Score Values.png

If you calculate the average of an integer value, you will get an integer value in SQL and other data visualization tools. So you may need to convert the Answer Score to a decimal value first before calculating the average of the Answer Score values. Below is an example of this conversion in SQL using the CAST function. In SQL the CAST function is used twice because when the decimal Answer Score value is averaged, the resulting value is a decimal value with multiple places so it need to be converted again to a decimal value with a single place (tenths).

 

CAST(AVG(CAST(EV.[Answer Score] AS DECIMAL(5,1))) AS DECIMAL(5,1))

 

Here is an example of a SQL query that returns the value score for Epic in a portfolio.

 

SELECT
     E.[Epic ID]
    ,E.[Epic Name]
    ,P.[Portfolio Name]
    ,CAST(AVG(CAST(EV.[Answer Score] AS DECIMAL(5,1))) AS DECIMAL(5,1)) AS [Value Score]
FROM current_dw.Epic AS E
INNER JOIN current_dw.[Epic Value] AS EV ON EV.[FK Epic ID] = E.[Epic ID]
INNER JOIN current_dw.Portfolio AS P ON P.[Portfolio ID] = E.[FK Portfolio ID]
WHERE
    P.[Portfolio Name] = 'Domain Marketplace Pillar'
GROUP BY
    E.[Epic ID]
   ,E.[Epic Name]
   ,P.[Portfolio Name]
ORDER BY
   [Value Score] DESC

 

Below are the query results for this example.

 

Screen Shot 2022-09-21 at 2.42.48 PM.png

 

Here are the value scores for the Epics in the Jira Align UI (Accessed from the Analyze button on the Value tab).

 

Screen Shot 2022-09-21 at 2.44.50 PM.png

 

As you can see, calculating the Value Score isn't a big mystery but it does requires a little transformation of the value.

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events