Exception > Could not determine the id of the storyPointsCustomField

Issue #34 resolved
Daniel Jurassic created an issue

Hi there, we are currently testing your gadget on out JIRA Server 8.0.2 with version 1.4.0-RC2

Our JIRA Log shows the following exception:

==================================================================

2019-04-01 14:07:39,146 pool-task-service-1-thread-54 ERROR USER 695x386237x5 1yp3xlw 100.100.100.37,100.100.100.100,100.100.100.146 /plugins/servlet/stonikbyte/greatgadgets/aws [c.s.c.b.services.tasks.Task] Error executing task with key: http://127.0.0.1:8080 1198 1717 Sprint End Date Sprint End DatefieldIssueCount : Could not determine the id of the storyPointsCustomField java.lang.RuntimeException: Could not determine the id of the storyPointsCustomField at com.stonikbyte.great.gadgets.common.services.impl.JiraRestServiceImpl.optimizedGetIssueDetailsFromSprint(JiraRestServiceImpl.java:653) at com.stonikbyte.great.gadgets.common.services.impl.JiraRestServiceImpl.getIssueDetailsFromSprint(JiraRestServiceImpl.java:625) at com.stonikbyte.great.gadgets.common.tasks.TaskGetDualChartData.getSeriesForSprintBurnUpAndSprintDownChart(TaskGetDualChartData.java:208) at com.stonikbyte.great.gadgets.common.tasks.TaskGetDualChartData.access$4(TaskGetDualChartData.java:105) at com.stonikbyte.great.gadgets.common.tasks.TaskGetDualChartData$Worker.run(TaskGetDualChartData.java:751) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

==================================================================

The error appears, if i choose "calculated by IssueCount" in the Sprint Burndown Gadget.

Regards Daniel

Comments (10)

  1. Danut M [StonikByte] repo owner

    Hi Daniel.

    Not really. There should be a field named "Story Points". It is a default field of Jira. Can you check if you have such field?

    StoryPoints.jpg

    If not, could you please tell us the edition of your Jira? Is it Jira Software, Core or Service Desk? Or do you use Jira Portfolio? Or maybe you renamed or deleted that field?

    When the gadget is configured to calculate by Issue count, actually it uses the Story Points field behind... That's why you get the error.

    Thank you, Danut

  2. Daniel Jurassic reporter

    Hi Danut,

    no, we dont have a field which is named "Story Points".

    We use JIRA Server / Software und yes, we have Portfolio installed.

    regards Daniel

  3. Danut M [StonikByte] repo owner

    A fix for this issue will be included in the next version after 1.5.0, which will be released in a few weeks. Please contact support@stonikbyte.com if you need the fix earlier.

  4. Log in to comment