I wanted to make the assignee mandatory for one of the project-issuetype. I have thought on the below.
if ( issue.assignee.name == null )
Tried the below as well.
if (issue.getAssignee() == null)
I got to understand that many thing come sinto the effect once the issue is created however validators are to check before the issue is created.
Could anyone suggest a method using which I can access the create form elements and validate it.
Hi @Mohit Dhir ,
Your method is correct, please try this script :
invalidInputException = new InvalidInputException("Assignee cannot be empty.")
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event