How to set a dynamic default value for a date object configuration type in Jira 7.5

Hi

For previous versions of Jira I override the ConfigureReport class through a webwork action, in order to set a dynamic value for a date object configuration. I also modified the atlassian-plugin.xml file to get the value with a class:

<property>
<key>startDate</key>
<name>report.requirements-growth.issuecreation.startdate</name>
<description>report.requirements-growth.issuecreation.startdate.description</description>
<type>date</type>
<values class="com.atlassian.plugins.tutorial.jira.reportsutils.ProjDefDateGen"/>
</property>

However I see that in Jira 7.5 the ConfigureReport is no longer in the actions.xml therefore the class cannot be overridden and the code I wrote is not working anymore. So, how can I set a dynamic default value in an object configuration of date type?. Thanks.

 

Regards,

 

Edgar

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,163 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you