Excerpt | ||
---|---|---|
| ||
Post function to automatically create Confluence page within Jira workflow. |
...
Parameters: You can define static or dynamic parameters here using Groovy Script. Some sample parameters are shown below.
Some code example below:
Panel |
---|
def parameters = [:] parameters["assignee"] = issue.assignee parameters["reporter"] = issue.reporter def userManager = ComponentAccessor.getUserManager() parameters["userDisplayName"] = userManager.getUserByName("someUserName").getDisplayName() def cf = customFieldManager.getCustomFieldObject("customfield_xxxxx") def price = issue.getCustomFieldValue(cf) parameters["price"] = (null != price) ? price : "No price defined" return parameters |
...
Update Page
If you enable this option, the post function will update the Confluence page if it already exists.
...