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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do i count how many times a value has changed in a structure?

In attempting to see how much churn is happening, we want to look at the number of times a fix version is updated on a story or epic. How do i count the changes of a field's value? 

We import the PI Name from JIRA Align into JIRA on a JIRA Epic I'd like to know how many times there were updates to these fields to show me how many times we're shifting work.   

What's the best way to report on this? I was thinking of counting the number of changes to  a field value. 

1 answer

Hello Margaret,

Consider a scripting solution as found on the Atlassian Marketplace. In Power Scripts, use the fieldHistory() routine. For example:

string [] history = fieldHistory(key, "Fix Version");
number changeCount = size(history) / 2;

Due to Confluence Cloud security features, you may need to open the documentation posted in incognito mode or by logging out of Confluence.

Please note that I am a product engineer for Power Scripts and that I work for Anova Apps, an Appfire company.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

303 views 2 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you