How to link multiple issues to new one while creation using bobswift jira cli?

Suresh Sakhare
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.
February 1, 2019

Hi,

I am trying to link the issues to new one while creation. I am able to able to link single issue but not multiple.

I tried with following code. let me know, Where I am wrong.

  1. CLI action 
    JQL query: project = "GGS" AND "Email address" ~ "%original_Email address%" 
    Product: Jira 
    Action: --action run --server "https://jira-test.suresh.com" %variable_credentials% 
    Data: 
        --action linkIssue --issue "%original_key%" --toIssue %jql_result_list% --link "blocks"

1 answer

0 votes
Reshma Begum {Appfire}
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.
February 5, 2019

Hi @Suresh Sakhare

To link multiple issues using CLI in post function, please configure your post function as given below.


--server "%base_url%" --user username --password password --action runFromIssueList --jql "project = GGS AND Email address ~ %original_Email address%" --common "--action linkIssue --issue "%original_key%" --toIssue "@issue@" --link blocks "

Please try and let us know the outcome. 

 

Thanks,

Reshma

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events