Our original story points field was a numeric field I had to type in. I created a new story points field and made it a drop down of the Fibonacci numbers. I then renamed the old to a new name story points (a) and named the new field to just story points. I thought I was good but now on the boards no point values will show or calculate with velocity. Is there something I am missing or do I just have to go back to my original field? 

2 answers

1 accepted

1 vote
Accepted answer

The boards need numeric data to work with - a select list is a set of string names (even if those strings are numbers, they're still just names for options).  You need to use a number field for this.

Perhaps you could use post-functions on relevant transitions to copy the value (convert to a number using groovy) into the original story point field.

Yes, you could, but you'd want to do it as a listener, so you can pick up edits outside the workflow.

The post function worked but I did not see where I could make it a listener. Also this only creates copies over during a single transition in the workflow. If I wanted it anytime I entered I would need the listener function.

You can't make a post-function a listener. You would need to write your own listener or use a plugin that provided the functionality directly e.g. scriptrunner could help you write the listener. 

 

See https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-writing-jira-event-listeners-with-the-atlassian-event-library

Thanks for the information Chris. We are using JIRA cloud so I am not sure how easy that would be for me. I will see how the post-function works for now.

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,737 views 17 21
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