Getting JIRA FixVersion Changes

Hello All - I have this JIRA API code to get the FixVersion changes:

FVs = event.getChangeLog().getRelated("ChildChangeItem").find{it.field == "Fix Version"};

System.out.println(FVs.oldstring);

System.out.println(FVs.newstring);

 

It looks like only 1 FixVersion is displayed for oldstring and newstring, even thought I populate 2 new FixVersions in the field.   Example:

 

* Before issue update, the field has 2 FVs.

* After issue update, the field has total of 4 FVs.

I would expect to see 2 new FixVersion.  The oldstring and new string always show 1 FixVersion.  What am I missing here?  Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,513 views 15 20
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you