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%