Unable to create issue due to additional required fields
See original GitHub issueWhat it should do
Find required fields, and allow inputting required ones
What it does
Fails to create a new issue because some fields are required for new issues on our Jira projects.
Other Info
After looking into the Jira API a bit, the expand
query string can be set to get all fields on an issue type. However, with many projects this can be massive. I would suggest waiting to fetch a more detailed set of metadata until after the user has selected the project at the very least, maybe even better to wait until they have selected the type. The request can then be filtered down by project name and issue type to limit the returned data (see https://docs.atlassian.com/software/jira/docs/api/REST/8.1.2/#api/2/issue-getCreateIssueMeta)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Create Issue with Required fields - Jira - Atlassian Community
1 answer · Go to Jira Settings > Issues > Screens · Go to the screen used for the create issues operation for...
Read more >Cannot Create an Issue With +Next Issue (+Sub-Issue ...
If the initial creation of an issue has failed, you don't have to lose the entered data. Just add the required fields and...
Read more >Can't create Issue with required Custom Fields - Bitbucket
Hey,. i have got a Problem while creatin an Issue via Rest API. Error is: "Could not find custom field with name 'Cause...
Read more >Create a custom field in Project - Microsoft Support
Screen shot of Project showing Add column header and New field option. Choose a field Type: ... You can't create formulas using custom...
Read more >Manage Custom Fields | YouTrack Server Documentation
As a project administrator, you can add new fields for the issues in your ... Define the set of values after you create...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is an example of the types for the project I found this issue on originally.
["issuetype","array","string","project","option","timetracking","any","date","user","priority","issuelink"]
It looks like just strings should be okay, as my guess is all of these would have to be typed as strings for the JSON request anyways.
@allout58 that sounds good, and it’s supported by commander, now I’m thinking about the data type, is it always text?