Description
Describe the bug
When creating a new issue with --component="Component Name" I always get back
Error:
- components: You do not have permission to create new components. Contact your project admin or Jira admin for assistance.
After inspecting the request and creating a new one manually it seems like this only works for our board when providing Name + ID of the component, or just the ID.
Please provide following details
- JiraCLI Version: adab79f on master
- Are you using Jira cloud or on-premise jira server?
SERVER INFO
Version: 1001.0.0-SNAPSHOT
Build Number: 100283
Deployment Type: Cloud
Default Locale: en_US
3. What operating system are you using? Also mention version.
Ubuntu 20
4. What terminal are you using? Also mention version.
Wezterm
To Reproduce
Steps to reproduce the behavior:
- Try adding a new issue with --component="Some Name" fails
- See error
Expected behavior
Should create the issue.
Additional context
This is somewhere between a bug and a feature request I guess. I'd be happy to create a PR that allows --component-id <ID>
param which would then use the ID instead of the Name. Not allowing the usage of both to keep things simple.