Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,971
Community Members
 
Community Events
168
Community Groups

how to import a feature file to an issue?

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?

1 answer

0 votes

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.

See https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/issue/{issueIdOrKey}/attachments-addAttachment

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events