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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

125 views 2 0
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