I believe you are missing some value for Project. This is not a Robot Framework fault. Perhaps the key is not Testing COE but usually a 4 letter value? Just guessing here.
I tried using the 4 letter key value now, and I am still getting the same issue. I understand that this is not the framework’s fault. Just trying to know where I have gone wrong as this is not working for me.
I have attached the code which I have worked upon for your reference. And below is the error which I am facing:
20200730 10:13:29.448 : INFO : ${issuestring} = {‘project’: {‘key’: ‘TCOE’}, ‘summary’: ‘Test Jira Robot’, ‘description’: ‘Testing Jira Robot issue creation’, ‘issuetype’: {‘name’: ‘Task’}}
20200730 10:13:29.577 : INFO : {‘project’: {‘key’: ‘TCOE’}, ‘issuetype’: {‘name’: ‘Task’}, ‘description’: ‘Testing Jira Robot issue creation’, ‘summary’: ‘Test Jira Robot’}
20200730 10:13:29.585 : FAIL : JIRAError: HTTP 400: “Field ‘description’ cannot be set. It is not on the appropriate screen, or unknown., Field ‘summary’ cannot be set. It is not on the appropriate screen, or unknown.” https://jira.dv. .com/rest/api/2/issue
Ending test: JiraIntergrationWithRobotFramework.TestSuites.TestSuite.JIRARobot Test Creating_An_Issue_in_Jira_With_RobotFramework.robot (1.9 KB)
It would be really helpful if you can help me out in this.