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.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events