Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create a new issue when the "description" field is not a valid field #821

Open
esiegel opened this issue Feb 6, 2025 · 0 comments

Comments

@esiegel
Copy link

esiegel commented Feb 6, 2025

Describe the bug
When creating a new issue the "description" field is not always a valid field, but it is always being set. In my case the description field has been removed from the "Task" type and replaced with a custom field, but when running the command jira issue create the description field is always set and this error is printed:

  - description: Field 'description' cannot be set. It is not on the appropriate screen, or unknown.
  1. JiraCLI Version:
(Version="v1.5.2", GitCommit="", CommitDate="", GoVersion="go1.22.6", Compiler="gc", Platform="darwin/arm64")
  1. Are you using Jira cloud or on-premise jira server?
SERVER INFO
-----------

Version: 	 1001.0.0-SNAPSHOT
Build Number: 	 100278
Deployment Type: Cloud
Default Locale:  en_US
  1. What operating system are you using? Also mention version.
   macOS Sonoma 14.7.3
  1. What terminal are you using? Also mention version.
   iTerm 2 Build 3.5.11

To Reproduce

Steps to reproduce the behavior:

jira create issue --type=Task

On my companies installation, when querying the createmeta for this issue Task, the description field is not present.

Expected behavior
One should be able to create a new jira issue. Either the CLI needs to fetch the createmeta to see that the description field should not be defaulted or another flag needs to be added to disable auto setting this field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant