Excerpt | ||
---|---|---|
| ||
Post function to automatically create Confluence page within Jira workflow. |
...
- Credential: Choose Credential if you want to use Confluence connection which is defined via the Easy Integrations Confluence setting. If there is no defined credential, this option will not be seen.
- Application Link: If you want to use the Jira application link then choose this option. If there are multiple application links you can choose an appropriate one and if there is no application link in your Jira, this option will not be seen.
...
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.
...