jira-cli icon indicating copy to clipboard operation
jira-cli copied to clipboard

Is there a way to view story points?

Open katylava opened this issue 7 years ago • 2 comments

I tried jira view with --format='%key, %summary, %customfield_10004, but it doesn't output anything after summary.

katylava avatar Oct 06 '17 17:10 katylava

Custom fields are not yet supported. I can take a look at how much work it would take to add this support.

alisaifee avatar Oct 07 '17 04:10 alisaifee

I must have been doing something weird before when it just didn't output anything. I tried again and it does grab customfield_10004, but raises an exception because it's a float instead of a string. I played around locally and cast it to a string here -- ret_str = ret_str.replace(k, str(issue.setdefault(v.lower(),""))).encode('utf-8') and it works fine.

Will submit PR... eventually.

katylava avatar Nov 02 '17 20:11 katylava