I created an email integration and it works fine. I then set up a JSM integration to create tickets in JSM but I keep getting errors in the log and no ticket being created.
Am I doing something wrong?
[outgoing][jira-service-management-cloud]Execution of action[createIssue] is finished with status[FAILED]. Execution message: [ ServiceName: jiraAdapter Response: { Status: 400 Body: [ {"message":"Field 'labels' cannot be set. It is not on the appropriate screen, or unknown.","took":0.348,"requestId":"XXXXXXXXXX"} ] } Request: { URI: http://og-jira-adapter-int-api.mesh:10609/api/jira/issues?customerId=XXXXXXXXXXXXX&identifierType=connection&identifierId=XXXXXXXXXXXXXXXXX&product=jira_cloud Body: [ {"customerId":"XXXXXXXXXXXXXXXXXX","identifierType":"connection","identifierId":"XXXXXXXXXXXXXXXXXXXXXXXXX","product":"jira_cloud","fields":{"summary":"Test 5","issuetype":{"id":"10375"},"components":[{"id":"10949"}],"project":{"id":"10015"},"description":"Click on [Body.html] attachment for HTML version\n\n\r\n\r\nMESSAGE ","reporter":{"id":"XXXXXXXXXXX"},"priority":{"id":"3"},"labels":["OpsgenieEvent"]},"sourceEntityId":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX","sourceEntityType":"opsgenie-alert","targetEntityType":"jira-issue","relationType":"escalated-by"} ] }]
Figured it out. I needed to add labels to the create issue screen for that issue type. Thats because Opsgenie adds it's own label. However it's not setting the component even though I set it on the integration.
It looks like either you are trying to update the Labels field or possibly you have that field required when creating the issuetype. Is that possible?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's what it looks like to me as well but labels isn't even an option to customize. It's also not required on the issue type I am trying to create.
I should also note that I get the same message when only Summary is filled in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.