Hi,
I wanted to make the assignee mandatory for one of the project-issuetype. I have thought on the below.
- I can not change the global settings as this is only for 1 project-issuetype.
- We can not make the assignee field mandatory in the field configuration. ( not allowed in Jira).
- I have script runner and tried the simple scripted Validator but it does not seems to work
if ( issue.assignee.name == null )
{
return false
}
Tried the below as well.
if (issue.getAssignee() == null)
{
return false
}
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.