Created
January 10, 2011 17:07
-
-
Save leonardinius/773063 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<web-item key="xxx.yyy.issue-operation" i18n-name-key="xxx.yyy.operation" | |
name="XYZ Operation" | |
section="operations-top-level" weight="100"> | |
<!--section="operations-top-level" will make it appear on the top level, instead of other actions--> | |
<!--weight="100" relative weight: wil make it appear in the end of the list--> | |
<label key="xxx.yyy.operation"/> <!-- i18n resource label text key --> | |
<tooltip key="xxx.yyy.tooltip"/> <!-- i18n resource tooltip text key --> | |
<link linkId="xxx.yyy.myId"> <!-- link value, id will be needed later on --> | |
/secure/MyWebAction!default.jspa?atl_token=${atl_token}&id=${issue.id} | |
</link> | |
<conditions type="AND"> | |
<condition class="xxx.yyy.MySuperCondition"/> | |
<condition class="com.atlassian.jira.plugin.webfragment.conditions.IsIssueEditableCondition"/> | |
<!-- only in view mode --> | |
<condition class="com.atlassian.jira.plugin.webfragment.conditions.ContextContainsCondition" | |
invert="false"> | |
<param name="context-key">display-context</param> | |
<param name="context-value">view-issue</param> | |
</condition> | |
</conditions> | |
</web-item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<web-item key="xxx.yyy.issue-operation" i18n-name-key="xxx.yyy.operation" | |
name="XYZ Operation" | |
section="operations-top-level" weight="100"> | |
<!--section="operations-top-level" will make it appear on the top level, instead of other actions--> | |
<!--weight="100" relative weight: wil make it appear in the end of the list--> | |
<label key="xxx.yyy.operation"/> <!-- i18n resource label text key --> | |
<tooltip key="xxx.yyy.tooltip"/> <!-- i18n resource tooltip text key --> | |
<link linkId="xxx.yyy.myId"> <!-- link value, id will be needed later on --> | |
/secure/MyWebAction!default.jspa?atl_token=${atl_token}&id=${issue.id} | |
</link> | |
<conditions type="AND"> | |
<condition class="xxx.yyy.MySuperCondition"/> | |
<condition class="com.atlassian.jira.plugin.webfragment.conditions.IsIssueEditableCondition"/> | |
<!-- only in view mode --> | |
<condition class="com.atlassian.jira.plugin.webfragment.conditions.ContextContainsCondition" | |
invert="false"> | |
<param name="context-key">display-context</param> | |
<param name="context-value">view-issue</param> | |
</condition> | |
</conditions> | |
</web-item> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment