Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello,
Currently, the Story Points field in JIRA allows values like: 3.5, 0.5, 2.9, (non integers).
We would like that only integer values should be used.
And if possible, even just certain integer values: 0,1,2,3,5,8,13,20,40,100.
Please let me know if this is possible.
Thank you!
As the others have mentioned, you will need ScriptRunner or some other form of automation to do this.
You could do it with validators, but you are likely to find "I can't move my issue until I've edited and then changed something to match" is quite annoying for your users.
I would try:
What would be the sql for creating a custom table in jira to store story points as integer..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lucy,
You don't create tables in the Jira database, nor even in the UI. You would need to find or write an app that can provide a new type of issue field, one that can validate and accept only integers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick -
This is not true. You absolutely can create custom tables through analytics in Jira.
I was just looking for the sql syntax that would need to include field id (fk), name and value, where the value would be cast as type 'integer'.
Not difficult to do, just thought someone might have it handy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was talking about database tables, as implied by your question, not analytics tables.
I was also talking about fields, where Jira does not have an integer type field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It wasn't implied at all.
Wrote the sql and it works, so all good.
Have now extended the ability to max / min variances in story points.
I will post the sql in another thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should never write anything to a Jira database. Please don't do that, you will break it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Some Custom Listener may assist you to round Story Point on each issue update. It may be implemented in ScriptRunner or PowerScripts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, we were just thinking about that. Would you happen to know if something like this might have an impact on JIRA's performance, considering that Story Points is a field used in every issue (except sub-tasks)?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should define the scope properly - Project, Issue Type. Otherwise it may affect performance on huge instances.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, for us it would be all projects eventually, all issue types (except sub-tasks) :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, not out of the box. You may be able to use a script to do it behind the scenes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thank you for your reply.
Could you be a little bit more precise about the scripts? I was thinking Scriptrunner validators, but those would apply only on transitions, not also on the "Edit" issue event.
Did you have other scripts in mind?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't use them so I can't comment. I often end up installing JIRA on systems that others will manage. Using scripts complicates matters and not all admins have programming experience. From other questions I know scripting can be used to limit data input. I suggest you search for forum and google for something like: JIRA scrips limiting input
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create a custom field (Select List) with predefined values (0,1,2,3,5,8,13,20,40,100). It will be not as useful as default Story Points but users will not be able to put any value in it. And it will be easy to filter it by JQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks, but we would prefer to use the same field so as to not lose other functionality that's specific to the original field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.