Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can i disable customfield validation on issue creation?

bbung April 23, 2014

We do need a customfieldtype that only validates changes on existing tickets. The validation during issue creation has to be disabled. I can't find a way to determine if an issue exists in the validateFormParams method of our customfield.

Ideas?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2014

Try relevantParams.getValuesForKey(CustomFieldImpl.PARAM_KEY_ISSUE)

com.atlassian.jira.issue.fields.CustomFieldImpl.PARAM_KEY_ISSUE

bbung April 24, 2014

Thank you very much! I think that does the trick.

TAGS
AUG Leaders

Atlassian Community Events