Help Centre › Functions & Formulas
This article describes the RPA Jira connector function to create an issue.
For a full list of available functions, please read JIRA functions.
Description
The Create issue function creates a new issue in Jira. Specify the project, summary, issue type, and optionally a description and other fields. The created issue key is returned.
Setting it up
{{popups:rpas/add:action=jira-create-issue}}
Once on a process map:
- Navigate to the process where you would like to add the function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the JIRA Create issue option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Connector | Yes | Select | - | Select the Jira connector to use |
| Fields | Yes | Textarea | - | Issue fields as JSON: {"project":{"key":"PROJ"},"summary":"Bug title","issuetype":{"name":"Bug"},"description":"Details here"} |
| Variable | Yes | Text | - | Variable to store the created issue |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | The created issue with id, key, and self URL |
Errors
- Project not found – the project key is invalid
- Invalid issue type – the issue type does not exist in the project
- Required field missing – a required field was not provided
Tips
- Use variables in the fields JSON: {"summary":"{bug_title}"}
- Common issue types: Bug, Task, Story, Epic, Sub-task
- Access the new issue key via {variable.key} (e.g. PROJ-123)
- Use List projects to discover valid project keys
Related functions
- Update issue – Update issue fields
- Transition issue – Change issue status
- Add comment – Add a comment