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
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events