I'm migrating old plugins 3.X to the version 7.2 of Jira. In particular, I have one plugin that is a menu entry (previously named as issue operation) and this action execute a single-issue-view, creating a Word Document template specific for an IssueType.
Reading, about that, issue operation was deprecated. Now is used Web Item Module. Until here, everything is ok. But, after creating the single-issue-view in the atlassian-plugin.xml, a new option in Export button (Issue detail view) is displayed. I have two questions here: first, how can I display a single-issue-view in another button/section (I already try section and doesn't work); the second is, how can I enable/disable the option based on the issue type ( condition tag is not working too).
<single-issue-view key="issue-incident-word" i18n-name-key="issue-incident-word.name" name="Incident Report" class="com.bcompany.trk.jira.issue.views.IssueIncidentWordView" section="incident-report-section"
state="enabled" fileExtension="doc" contentType="application/vnd.ms-word">
<resource type="velocity" name="view" location="templates/incident-word/single-word-incident-report.vm" />
<resource type="velocity" name="style" location="templates/incident-word/single-word-incident-report-css.vm" />
<resource type="velocity" name="header" location="templates/incident-word/single-word-incident-report-header.vm" />
<resource type="velocity" name="footer" location="templates/incident-word/single-word-incident-report-footer.vm" />
<!-- <resource type="i18n" name="i18n" location="com.atlassian.jira.plugin.issueview.issueview" /> -->
thanks for any help.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot