Hello, is it possible to set up default value of property with date type?
For example i have.
<property>
<key>startPeriod</key>
<name>Start Period</name>
<description>Start Period</description>
<type>date</type>
<default class=""></default>
</property>
Is it possible to set up specific class for generating time for default value?
Community moderators have prevented the ability to post new answers.
Hello Veinhorn,
Yes it is possible to set a hardcoded default value for a date type, just like this:
<default>10/12/2016</default>
What I haven't found yet, is how to set the value dynamically using a class or something like that. I am also interested on setting up the value dynamically. I tried using a class like this:
<default class="com.atlassian.plugins.tutorial.jira.reportsutils.DateValuesGenerator"/>
But it did not work.
Hope there is a way to set the value, because that is a basic feature.
Regards,
Edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.