How to extends 'Printable' view

Irina Svirkina April 20, 2015

I need to extend 'Printable' view for single issue by own info (go to single issue -> click 'Export' button -> select 'Printable' in dropdown list).

Found an article, which advices to play with single-issue-view module. But as I understood, this plugin isn't documented see here.

I added single-issue-view element into atlassian-plugin.xml, but it's presented as an additional item in the dropdown list (not original/native Printable item, see http://screencloud.net/v/zNkn).

  1. How to avoid 'Printable' menu duplication?
  2. Does some documentation for single-issue-view module exist?

 

1 answer

0 votes
Shun Hirayanagi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 20, 2015

Are you trying to create a new plugin which replace the JIRA default Printable view function?

If not, try the first URL (an article) which suggests that you can edit template files located in
$(Your JIRA installation directory)/atlassian-jira//WEB-INF/classes/templates/plugins/issueviews/
to change the default behavior of Printable view function.

 

Irina Svirkina April 23, 2015

@Shun Hirayanagi I'm developing a new plugin, so unfortunately the approach is not acceptable. Could you please give an advice.

Shun Hirayanagi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2015

I couldn't find any documentation about how to override the single-issue-view function with a plugin. I suppose disabling "Printable" module of "Issue view plugin" in the "Manage add-ons" menu will hide the printable menu in issue view page. So, you can avoid the duplication of the menu.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events