Hello,
I want to dynamically set the default value of a property in my report plugin. In particular I want to set it as currentProject* (last project viewed by user). Sample code:
<property>
<key>projectid</key>
<name>report.cs.project</name>
<description>report.cs.project.description
</description>
<type>select</type>
<values class="com.atlassian.jira.portal.ProjectValuesGenerator"/>
<default>???</default>
</property>
Is there any
--direct (set the default value) or
--indirect way (custom property, custom ValuesGenerator,...) to achieve it?
Thank you in advance,
Peter.
Note: a similar question was asked on atlassian forums.
* should be as in API