Gadgets "Days Previously" does not respect the selected Period.

Description

Steps to Reproduce:

  1. Install JIRA Charting plugin.

  2. Follow the plugin doccumentation

  3. Add the Gadget.

  4. Select the Period to "Yearly"

  5. Set the "Days Previously" to 3000 and save.

Expected Result:

  • Like the Bundled Gadget it will shows the graph based on year.

Actual Result:

  • This warning appears "Days must not exceed 300 for daily period"

Notes:

  • So far tested with "Time Since" gadget that bundled with JIRA, the error will follow its selected period. For example, selecting "weekly" will throws warning "Days must not exceed 1750 for weekly period"

Environment

None

Testing Notes

None

Status

Assignee

Unassigned

Reporter

Julian Rahmadiputra

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Affects versions

2.3.0
1.33

Priority

Major