Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,558,959
Community Members
 
Community Events
184
Community Groups

Auto Create ticket by sending files

Anthony Gadzinski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 09, 2023

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?

1 answer

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 09, 2023 • edited

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.

Anthony Gadzinski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2023

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events