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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

143 views 5 9
Read article

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