Bobswift (Run CLI in JIRA): Link a JIRA issue to a confluence page (after page creation)

Bobswift (Run CLI in JIRA): Link a JIRA issue to a confluence page (after page creation)

I am creating a new page in Confluence (from JIRA using Run CLI in JIRA addon). How do I provide a link in JIRA to connect to the confluence page? (I am looking to do a 1-way link from JIRA to Confluence)

--action copyPage --id 12345678 --newTitle "Page for %original_key%" --parent "98765432" --server http://confluence-test:8090/ --user jira_confluence --password abcdef123456 

Do I use "–findReplace" at the end? (I have not been able to use this successfully). Pls help.

2 answers

This widget could not be displayed.

@Bob Swift [Bob Swift Atlassian Add-ons].. this one is for you...

This widget could not be displayed.

An example would be:

--findReplace ##ISSUE_KEY##:%original_key%

Regarding linking from JIRA to Confluence, suggest adding another action to your script after the copyPage that does an addRemoteLink action.

will try this out.. thank you..

@bobswift..

I tried this but could not get it to work. I tried to break confluence page creation and issue linking into 2 different actions. the page creation works but not the "addRemoteLink". Please review and let me know wha tI am missing.

 

addremotelinking-2.png

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...

139 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