Redemption of Atlassian Answers T-Shirts, Backpacks and Jackets is temporarily unavailable while we migrate to a new third-party provider for https://swag.atlassian.com.
I've got a select list set up as a custom field in Jira and wish to use it in Greenhopper's statistical burndown charts.
The specific field that I'm implementing is a "T-Shirt Size" field for story estimation. I have started to follow the steps here but now need to attach numbers so I can use it for calculations / charts.
How can I set up a mapping between a textual label and a numerical value in a Jira custom field?
You'll need some code to do that. There is no "mapping" function - the options on a select list are served up as strings to the things that ask the field for values.
A lighter option though - set up a standard select list with your values, then set up a numeric field as well. Call them something similar, and don't put the numeric field on any edit/transition screens, and don't put the select list on display screens. Then write a small listener or postfunction that will read the select list and populate the numeric in the background (script runner plugin would make that a doddle)
For prosperity's sake, I'll include my specific solution: I ended up taking the two list approach you suggested and set up a filter subscription on the mismatching issues ("Inconsistent Story Points / T-Shirt Size") that ran frequently so I could manually update the issues. It's not fully automatic but it is good enough for my needs.