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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,799 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot