The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Automatically fill the fields of the subtasks from the CSV attachment

Lusine
Contributor
May 23, 2024

Hi everyone,

I have an issue type that will have a CSV attachment with, for example, 5 rows and 20 lines of information.

Here is my problem:

Can I automatically create 20 subtasks (one for each line) for one user and fill 5 fields (from each row) of the subtasks from my CSV file?

The fields will be simple text fields.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Bill Sheboy
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 Champions.
May 23, 2024

Hi @Lusine 

Yes, that is possible with a non-trivial automation rule.

The rule would call the REST API functions to load the attachment data, iterate over it, and create the subtasks.

If you want to try this, here are some references to get started:

Although I would recommend using CSV import instead for this scenario rather than an automation rule.

Kind regards,
Bill

Lusine
Contributor
May 23, 2024

Hi @Bill Sheboy ,

Thank you so much for the information. I'll try it.

If I have some problems I'll reach out to you again.

0 votes
Jack Brickey
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 Champions.
May 23, 2024

Hi @Lusine , there is no way to automatically achieve that by way of attachment.

Lusine
Contributor
May 23, 2024

Hi @Jack Brickey ,

Thank you for your reply.