We are using Jira cloud and we use an integration app to create jira issues.
I am able to create issues with issue type=Bug and New feature.
But when ever we try to create a issue with issue type=Task, the application throws below error:
17:02:51.793 [http-nio-8090-exec-10] DEBUG com.infosynergi.infolinkintegration.service.impl.JIRAServiceImpl - exception ::RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={issuetype=The issue type selected is invalid.}, errorMessages=[]}]}
17:02:51.793 [http-nio-8090-exec-10] DEBUG com.infosynergi.infolinkintegration.service.impl.JIRAServiceImpl - Error Message :: java.util.concurrent.ExecutionException:
RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={issuetype=The issue type selected is invalid.}, errorMessages=[]}]}
I re-verified the mappings and confirmed that mapping for issue type=Task is there in the code. So, I suspect it is not a code issue.
However, I am able to create able to create a jira issue with issue type=Task from the jira web application page.
Is this a know issue? Are we missing some configuration in the jira web application?