How to update customfield values of multiple issue using JIRA CLI commands.

Anoop Wilson
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.
May 31, 2012

We need to update the value of field in 100 issues.How can I do this using CLI.

2 answers

1 accepted

0 votes
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
May 31, 2012

If it is just one or two fields, use setFieldValue, otherwise use updateIssue. There are examples on the Examples page.

Anoop Wilson
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.
May 31, 2012

How to do this for muliple issuess....any batch file will work?

Bob Swift OSS (Bob Swift Atlassian Apps)
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.
June 3, 2012

You can use a batch file or use runFromIssueList with some search criteria or runFromSql if you have SQL access or run with a text based file or one of the other run actions depending on how you determine which jira issues need to be udpated.

0 votes
Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2012

Hi Anoop,

why don't you use the bulk change utility ?

Best regards

Thomas

Anoop Wilson
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.
May 31, 2012

Hi Thomas,

Each issue is having different values for the customfield.So bulk update is not a good option.

Regards

Anoop

Suggest an answer

Log in or Sign up to answer