Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-6888

Not being able to open jira tickets from evergreen

    XMLWordPrintable

    Details

    • Type: Problem Ticket
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2019.11.01
    • Component/s: app
    • Labels:

      Description

      I'm trying to configure our project to open jira tickets on failures.

      We don't need any custom fields but the components field is mandatory.

      I've configured 'JIRA Notifications Custom Field Mappings' for Build project to set components field to 'Build Images'

      I'm getting the following error now

      { [-]
         error: encountered error logging to jira: Request failed. Please analyze the request body for more details. Status code: 400 [{"errorMessages":[],"errors":{"components":"expected Object"}}]
         event: { [+]
         }
         message_type: *message.formatMessenger
         metadata: { [+]
         }
         notification: Failed: build on Windows 64-bit (VS 2010) [Build Host Configuration @ 3a25c659] 
         notification_target: jira-issue
      }

      Before setting the components field I was getting a different message

      error: encountered error logging to jira: Request failed. Please analyze the request body for more details. Status code: 400 [{"errorMessages":[],"errors":{"components":"expected Object"}}]

      So I think the name of the field is correct but I'm not sure what the format of the value should be.

        Attachments

          Activity

            People

            Assignee:
            jonathan.brill Jonathan Brill
            Reporter:
            zakhar.kleyman Zakhar Kleyman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: