Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,951
Community Members
 
Community Events
168
Community Groups

Returning ChangeHistory string as a Version - Scripted Field

I have a custom scripted field using Scriptrunner that returns the "Planned Fix Version" for a JIRA epic.  In order to do this, I have to traverse the ChangeHistory for the issue, and the change history stores the value the field changes to as a string.  However, I want to return this value as a Version.

I haven't figured out how to do this.  I tried doing a "as Version", but that doesn't seem to be working.  I can provide code snippets if necessary. 

Thanks.

0 answers

Suggest an answer

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

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

179 views 1 6
Read article

Atlassian Community Events