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,363,464
Community Members
 
Community Events
168
Community Groups

Trigger rule on CSV Import

Hi,

I wrote rules to be performed on Issue Creation. They work fine when I create an issue through Jira's UI. Unfortunately, when I create Issues by importing a CSV through Jira's "External System Import" > "CSV" the rules are not triggered. What can I do to make it work?

I searched for a solution here in the forum but failed to find a match. If I missed a similar question by accident, please excuse me and kindly point me to it.

Thank you very much for your efforts. And thank you for the wonderful "Automation for Jira" Plugin.

Kind regards,

Gregory Catellani

 

2 answers

1 accepted

3 votes
Answer accepted
John McKiernan Marketplace Partner May 20, 2018

Hi Gregory,

Apologies - I misread your comment!

In terms of the "External System Import" feature - There isn't much we can do here as Jira doesn't fire the event - there is an issue over at Atlassian for this - https://jira.atlassian.com/browse/JRASERVER-64599

What you could do is use the 'Bulk Create' feature instead of the importer as this does create events -

https://confluence.atlassian.com/jiracoreserver073/creating-issues-using-the-csv-importer-861257331.html

From there, you should be able to set up rules that will successfully execute. 

Let me know if you have any problems!

Cheers,

John 

Hi,

the 'Bulk Create' way is what we went for, and it works like a charm. Thank you very much John. 

Cheers,
Gregory

Hi @John McKiernan1 ,

 

'Bulk Create' works for me too.

 

Thank you

0 votes
John McKiernan Marketplace Partner May 17, 2018

Hi Gregory,

Unfortunately this is not something Automation for Jira supports at the moment. It would definitely be good to have though. We are tracking it at the link below and will let you know once it is possible.

https://codebarrel.atlassian.net/browse/AUT-282 (you may need to view incognito to see this).

Cheers,
John

Hi John,

 

thanks for getting back to me. I'm unsure if the link you posted is the one you intended to post, as it leads to a ticket for "CVS Exports" whereas I was talking about triggering rules on CVS import.

 

Maybe my description wasn't accurate, so let me retry. I have an automation rule that listens to Issue creations. When I create an issue through "Create Issue" the rule is triggered. If I import issues from a CSV file through Jira's "External System Import" however, the rule is not triggered!

BTW: Post Scripts on the "Create"-transition are actually triggered in case of issue importing through CSV files! So if your plugin isn't able to register the creation of issues through CVS imports could you possibly tell me if and how to trigger an automation rule with a Post Script from within a workflow?

 

Cheers,

Gregory

Looking for same functionality.  I manually enter 30-50 Epics per week - we have a Jira Automation for this whereby I only enter Epic information and the 10 various issuetypes are created 'beneath' the Epic based on the Epic Create trigger.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events