badoo / badoo/jira-client

Required fix version

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
65
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Could you please fix fixVersion adding

Using ->setFieldValue('Fix versions','Default');
I get an error '{"errorMessages":[],"errors":{"fixVersions":"data was not an array"}}'

Payload
[10015] => {"fields":{"project":{"key":"VT"},"issuetype":{"id":"10005"},"summary":"Summary","description":"Description","fixVersions":"Default","components":[{"id":"10112"}]}}

Contributor guide

Open the contributing guide

Research direction

Start by tracing setFieldValue('Fix versions', 'Default') through the JIRA issue payload construction. Compare the generated fixVersions field with the payload shown in the issue and verify the resulting request against JIRA's expected format. Done means creating an issue with a fix version no longer returns the “data was not an array” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.