search_options = {}
search_options['actionPlans'] = plan.key
search_options['resolved'] = false
- if @project.qualifier == 'TRK'
- search_options['projectUuids'] = @project.uuid
- else
- search_options['componentRootUuids'] = @project.uuid
- end
+ search_options['componentUuids'] = @project.uuid
%>
<a href="<%= url_for_issues(search_options) -%>"
title="<%= message('widget.action_plans.x_unresolved_issues', :params => unresolved_issues_size.to_s) -%>"><%= unresolved_issues_size -%></a>
if has_role?(:user, @project)
search_options = {}
- if @project.qualifier == 'TRK'
- search_options['projectUuids'] = @project.uuid
- else
- search_options['componentRootUuids'] = @project.uuid
- end
+ search_options['componentUuids'] = @project.uuid
search_options['resolutions'] = 'FALSE-POSITIVE'
title = message('widget.false_positive_reviews.name')
%>
search_options = {}
if @project
- if @project.qualifier == 'TRK'
- search_options['projectUuids'] = @project.uuid
- else
- search_options['componentRootUuids'] = @project.uuid
- end
+ search_options['componentUuids'] = @project.uuid
end
search_options['resolved'] = 'false'
search_options['assignees'] = current_user.login
-
+
title = message('widget.my_reviews.name')
%>
<%= render :partial => 'project/widgets/issues/issues_list_widget',
- :locals => {:search_options => search_options, :title => title,
+ :locals => {:search_options => search_options, :title => title,
:widget_id => widget.id.to_s, :widget_properties => widget_properties} %>
<% end %>
<%
options = {}
options['resolved'] = 'false'
- if @project.qualifier == 'TRK'
- options['projectUuids'] = @project.uuid
- else
- options['componentRootUuids'] = @project.uuid
- end
+ options['componentUuids'] = @project.uuid
if @dashboard_configuration.selected_period?
options['createdAfter'] = Api::Utils.format_datetime(@dashboard_configuration.from_datetime)
options['createdBefore'] = Api::Utils.format_datetime(DateTime.now)
issues_search_options = {}
issues_search_options['resolved'] = 'false'
- if @project.qualifier == 'TRK'
- issues_search_options['projectUuids'] = @project.uuid
- else
- issues_search_options['componentRootUuids'] = @project.uuid
- end
+ issues_search_options['componentUuids'] = @project.uuid
%>
<table width="100%">
<tr>