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

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

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:

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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

29 views 0 2
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you