We have a process where we create XML file templates to make changes to data in a DB. Several people create the files, log into Jira, manually create a ticket and attaches the file. All these files are saved in a box folder and several people create manual tickets.
Is there a way to send a file to Jira and Jira will auto create a ticket to avoid a person manually creating it and attaching the file?
That's generally what REST API is for: https://docs.atlassian.com/software/jira/docs/api/REST/9.8.0/#api/2/issue-createIssue
So ideally a script takes an xml file, parses it, and starts creating issues using REST. That depends more specifically on your environment and who these people are. Because you could basically have a cron job on some system somewhere, upload the xml files there and let the script do it's thing all by itself.
As far as Jira UI goes, you also could convert the xml to a csv and import it, but you would need to be a global administrator to do so. There is a user-facing import for csv files, but it's pretty limited in terms of what you can map, so it comes down to what kind of data there is in that xml; both options are described here: https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html
Although, as far as I know, there isn't any API to use these wizards remotely other than to actually go through the import wizard in web UI.
Or, I misunderstand what scripts you have there currently, what's happening to those files.. Because they get attached in file system so I assume there's something crawling the file system for .xml attachments? This part has me confused.
Thank you for your response. I do not want Jira to do anything with the files (that process will not change). I want to avoid x people manually creating 30 tickets each because we have y amount of files to submit. I am trying to figure out how to automate how to create a ticket and manually attaching files that are sitting in a Box file so my team do not need to click the create button multiple times. The people who receive the tickets will follow their bau desktop procedures.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.