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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,294 views 5 10
Read article

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