Bitbucket Data into EasyBI

I have created a scriptrunner custom rest api for importing the Bitbucket data to EasyBI. The rest api pulls out the following data:

  1. Project keys
  2. Repos belong to Project keys
  3. Branches belong to each repo
  4. Branch count for each repo
  5. Repo size for each repo
  6. Branch Age (days since last commit was made) of each branch inside the repo

Everything looks fine but, the branch age is concatenated with branch name so it became a string. We want to assign cell formatting for branch Age to highlight the oldest branches. Any suggestions would be greatly appreciated.

I was able to get it working using custom java script code

1 Like