we wanted to import a feature file to an issue in JIRA,
we tried importing it using curl command, but after importing via curl command, all the scenarios in feature file are being created as new issues, but we required to create 1 issue with this feature file attached to that issue!! is it possible?
So you are running an import instead of trying to attach. It's quite simple to attach files to issues programatically, you just run the REST API for attaching a file.