Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Edgar Hernandez Meraz October 3, 2017

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events