I am trying to set created to current date using below method in my script,but it is throwing error "cannot find matching method com.atlassian.jira.issue.MutableIssue#setCreated(long)"
newIssue.setCreated(System.currentTimeMillis())
Any one can help me on what is wrong here