It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I'm using CLI in JIRA to create a Confluence page. How do I pass the @pageId@ to a JIRA action? Edited

I'm using Bob Swift CLI in JIRA to create a Confluence page. How do I pass the @pageId@ to a JIRA action?

CLI action
Product: Confluence
Action: --action run --server http://confluence --user my-user --password my-password 
Data:
--action copyPage --space "eWebProjects" --parent "Project List" --title "eWeb Project Template" --newTitle "eWeb Project %original_id%"

--action renamePage --id @pageId@ --newTitle "eWeb Project @pageId@"

--action modifyPage --id @pageId@ --findReplace $projectId:@pageId@,LINK_TO_ISSUE:%original_id%

--action copyPage --space "eWebProjects" --parent "eWeb Project @pageId@" --title "eWeb Request Template" --newTitle "eWeb Request @pageId@"

***************************************************************

@pageId@ is empty when calling this cli action

CLI action
Product: JIRA
Action: --action run --server http://jira --user my-user --password my-password
Data:
--action setFieldValue --field "Project Id" --value @pageId@ --issue %original_key%

0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 03, 2019 in Marketplace Apps

How to estimate projects more accurately?

Gaining insight into your team’s effectiveness and choosing the right estimation technique.   Estimating projects is hard. It is because people have the tendency to underestimate the time thin...

321 views 2 11
Read article

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