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

Validate an attachment file in Jira

JR
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!
September 2, 2019

Hello,

I would like to put in place a support process where users would need to create a Jira issue with a a CSV file attached. I would like to automatically validate that the format of the CSV file according to some internal rules and reject the ticket if it's not correct. 

Would it be possible to do it with a workflow validator or post or using post-functions? Maybe with some external scripts using the API? Is there any plugin available for this kind of validations? Please, take into account that I would need to parse the file to determine if it's valid or not.

Any piece of advice would be extremely helpful.

Thanks,

JR

1 answer

0 votes
Ilya Turov
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.
September 3, 2019
JR
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!
September 4, 2019

Thanks. It sounds good! I see that in the example they just look at the file name, but my understanding is that you can parse the CSV file following Stephen's suggestion here, right?

Ilya Turov
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.
September 4, 2019

Yeah, actually the very next section in the link I provided talks about "Reading Attachments Added this Transition". 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events