Can you add validation to the 'Edit Issue' option???

lennon_x November 27, 2012

You have workflow validators,post fuctions but they are only limited to the workflow.Is there a way to add validation to the 'Edit' option which is independent of the workflow???

1 answer

1 vote
Zul NS _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2012

I found two options in doing this, one is by using plugin and another is by doing some modifications to JIRA. Please check on the following links:

lennon_x November 29, 2012

Thanks Zulfadli Noor Sazali !!

<web-item key="edit-issue" i18n-name-key="webfragments.view.issue.opsbar.operations.top.edit" name="Edit this issue" section="operations-top-level" weight="1">

<label key="common.words.edit"/>

<tooltip key="admin.issue.operations.plugin.edit.issue.name"/>

<styleClass>issueaction-edit-issue</styleClass>

<link linkId="edit-issue">

/secure/EditIssue!default.jspa?id=${issueId}

</link>

<condition class="com.atlassian.jira.plugin.webfragment.conditions.IsIssueEditableCondition"/>

<condition class="com.atlassian.jira.plugin.webfragment.conditions.HasIssuePermissionCondition">

<param name="permission">edit</param>

</condition>

<param name="iconClass" value="butt-edit"/>

</web-item>

.......this is the web item for 'Edit'......so can i add new conditions to it???(by extending the available classes...i suppose)....or its not possible???

Suggest an answer

Log in or Sign up to answer