Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JSM integration not creating tickets - Opsgenie

Chris Thomas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2022

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"} ] }]


Opsgenie Config.PNG

2 answers

2 accepted

1 vote
Answer accepted
Chris Thomas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2022

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.

1 vote
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 3, 2022

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?

Chris Thomas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2022

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events