Is description field mandatory?
I use jenkins plugin "jira step" to create new issue (of course it can be jenkins plugin error). Plugin call jira API
My pipeline code
def newIssue = [fields: [
project: [key: 'DOM2019PRE'],
issuetype: [id: issueType.id],
summary: 'AA'
]]
response = jiraNewIssue issue: newIssue, site: GlobalParams.jiraName
echo response.successful.toString()
echo response.data.toString()
as the result i see
JIRA: Site - JTC - Creating new issue: IssueInput(update=null, fields={project={key=DOM2019PRE}, issuetype={id=10200}, summary=AA})
Error Code: 400
Error Message: {"errorMessages":[],"errors":{"description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."}}
I have the same problem.
When I create the issue via the UI the description field cannot be set and is not required.
But I am not able to create an issue via jiraNewIssue without description...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.