Upload List of Versions for a Prject

Dear All,

I have created a project and in this project I have a list of over 500 file versions that I need to input. It will be very tedious to do so manually. Is there anyway that I can import this from a text/csv/xml file?

Thanks

Anil

2 answers

1 accepted

This widget could not be displayed.

JIRA Command Line Interface has addVersion and you can combine that with runFromCsv or one of the other run actions.

Thanks a lot. The command line Interface worked perfectly.

Would it be possible to add options to a Custom Multi Select field using the same. If so what is the commnad.

This widget could not be displayed.

Hello Anil,

the only way to update these versions is to develop an own plugin or use an own db script.

Usually, I don't suggest to operate on DB but, in this case, versions are stored just in one table.

Table name is projectversion and it is related to specific project through PROJECT field that contains the project id.

+-------------+---------------+------+-----+---------+-------+

| Field | Type | Null | Key | Default | Extra |

+-------------+---------------+------+-----+---------+-------+

| ID | decimal(18,0) | NO | PRI | NULL | |

| PROJECT | decimal(18,0) | YES | | NULL | |

| vname | varchar(255) | YES | | NULL | |

| DESCRIPTION | text | YES | | NULL | |

| SEQUENCE | decimal(18,0) | YES | | NULL | |

| RELEASED | varchar(10) | YES | | NULL | | - true/false

| ARCHIVED | varchar(10) | YES | | NULL | | - true/false

| URL | varchar(255) | YES | | NULL | |

| STARTDATE | datetime | YES | | NULL | |

| RELEASEDATE | datetime | YES | | NULL | |

+-------------+---------------+------+-----+---------+-------+

I suggest to test your procedure in an staging environment first.
Hope this helps,
Fabio

Thanks Fabio, I did not test this out. The Command Line interface worked for me.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

155 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you