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
Hello, it's possible to validate attachments with scripptrunner plugin:
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, actually the very next section in the link I provided talks about "Reading Attachments Added this Transition".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.