Forums

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

How to trigger CLI command for confluence from Jira post function?

srikanth duggineni May 8, 2018

Hi, 

I want to copy a space in confluence using CLI for confluence plugin which should be triggered from Jira Post function - Groovy script. 

Can any one help me on this ? If not with Groovy any other ways to do ? 

1 answer

0 votes
Alexey Matveev
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 9, 2018

Hello,

I think you need to call cli from bash or something like this. You can use the following command in groovy:

"cmd /c mvn".execute()

Suggest an answer

Log in or Sign up to answer