Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-39007

Report module plugin development: hidden report parameter is lost on report configuration

    XMLWordPrintable

Details

    • Support Request
    • Resolution: Answered
    • Low
    • None
    • None
    • None
    • None

    Description

      I'm trying to pass report parameter from gadget, and then would like to keep it after going through configuration page, but it's lost.

      I expected that hidden report parameter will make it work, but it does not. Is there other way to pass parameter, similarly to selectedProjectId parameter?

      Scenario:

          <report ...>
                  ...
                  <property>
                      <key>reportingDay</key>
                      <name>reportingDay</name>
                      <description>reportingDay</description>
                      <type>hidden</type>
                  </property>
              </properties>
          </report>
      

      See also Configuring Plugins with Object Configurable Parameters

      Url: http://localhost:2990/jira/secure/ConfigureReport!default.jspa?reportKey=jira-timesheet-plugin:projectpivot&reportingDay=2

      But after clicking Next on report configuration page value is lost, e.g. http://localhost:2990/jira/secure/ConfigureReport.jspa?reportingDay=&reportKey=jira-timesheet-plugin%3Aprojectpivot&Next=Next

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              0cd5ba84bf22 Andriy Zhdanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: