How to display history of custom field select list values

Hello,

we have a custom field “Reason for Blocking” which is a select list. When an issue transitions into status “Blocked” the value to the custom field is added. When the issue transitions out of the status, the field value “Reason for Blocking” si cleared.

We want to have an overview of resolved issues with the Blocking reasons. Since the values are cleared I need it to find it somehow in the issue history.

Please, could you help me how to get it? Is it even possible?

I will appreciate any tip, I reviewed the documentation and other community articles but I can’t seem to find a similar solution.

Thank you

Zdeněk

Hello @Zdenek

Yes, that sounds possible. If “Reason for Blocking” is a single-select custom field in Jira you can import history for the field in eazyBI.
https://docs.eazybi.com/eazybi/data-import/data-from-jira/import-issue-change-history

But the question is what exactly do you want to show in the report and how to filter it?

Is that some issue-level table report where you want to see issues that had any of Blocking reasons at any ponit in time or you want to filter the report somehow or perhaps get a counter based on historical transitions?

Please share more details about the expected layout (rows, columns, page filters) for this report.
And confirm that “Reason for Blocking” is a single-select field in Jira

Martins / eazyBI

Hello Martins,

thank you for your comment. Yes I confirm the field “Reason for Blocking” is a single-select field in Jira. The user just wants to see if the issue had any of Blocking reasons at any point in time and the value of the field.

Please let me know if you need anything else. I will really appreciate any help with this report.

Thank you

Zdeněk

  1. please follow these steps from our documentatiopn age to import “Reason for Blocking” as dimension with value changes
    https://docs.eazybi.com/eazybi/data-import/data-from-jira/import-issue-change-history

  2. create a new calculated measure to display all the historical values from the “Reason for Blocking” field for each issue.

Generate(
  Order(
  Filter(
    DescendantsSet([Reason for Blocking].CurrentMember,[Reason for Blocking].[Reason for Blocking]),
    [Reason for Blocking].CurrentMember.name <> "(none)"
    AND
    (
    [Measures].[transitions from],
    [Transition Field].[Reason for Blocking],
    [Time].CurrentHierarchy.DefaultMember
    )>0
  ),
  (
  [Measures].[Transition from last timestamp],
  [Transition Field].[Reason for Blocking],
  [Time].CurrentHierarchy.DefaultMember
  ),
  BASC
  ),
  [Reason for Blocking].CurrentMember.name,
  ","
)

Martins / eazyBI

1 Like

Dear Martins,

I am sorry about my delayed response. Thank you for the script. However today I was trying to implement this but unfortunately the new calculated measure column is empty for all issues. I checked the issues where I know for sure that there has been a historical value but the column is empty. I was trying to update it with the eazyBI assitant but after multiple attempts none of the solutions worked.

Could you please take a look a provide me some alternative script?

Please let me know

Zdeněk

For this formula to work in calculated measure you have to select all checkboxes for the field “Reason for Blocking” in the import options page and press import to import data with the the history values for this field
https://docs.eazybi.com/eazybi/data-import/data-from-jira#DatafromJira-JiraCustomFields

If script gave you empty results, likely the field is is not imported correctly. check the step 1 from my previous answer in this thread.

Martins / eazyBI

Hello Martins,

thank you for your reply. You were right, I did not perform the “Additional advanced settings” for the custom field. It is working now as expected.

Thank you very much for you support. I really appreciate it.

Best regards

Zdeněk