Create Issue
UiPath.Jira.Activities.CreateIssue
The Create Issue activity uses the Jira API to create a new issue (Issue).
The activity outputs an issue object (Issue) that can be used as an input variable in subsequent activities (e.g., Issue in Update Issue]).
How it works
The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Jira Scope activity to your project.
- Add the Create Issue activity inside the Jira Scope activity.
- Create and enter a
Stringand aProject Keyvariable for the Input properties. - Create and enter a
Stringand aSummaryvariable for the Input properties. - Create and enter a
Stringand aTypevariable for the Input properties. - Create and enter a
Issueand anIssuevariable for the Output properties.
Properties
The values for the following properties are specified when adding this activity to your project in UiPath Studio.
You can set custom fields by using either the (Additional Fields) or the (Custom Fields) property. They are provided to allow the RPA developer a choice of input parameters that they feel easiest to work with.
Common
- Continue On Error - This field only supports boolean values (True, False). The default value in this field is False. As a result, if this field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
- DisplayName - The display name of the activity. This field supports only strings or
Stringvariables.
Input
- Project Key - The project key for the issue. This field supports only strings or
Stringvariables. - Summary - The summary of a the issue. This field supports only strings or
Stringvariables. - Type - The type of issue. This field supports only strings or
Stringvariables. (e.g. "Story")
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Issue - The newly created issue. Enter an
IssueorIssuevariable.
Options
- Additional Fields - A dictionary containing key-value pairs for Jira fields. This property can be used with or instead of Custom Fields. A
Stringfield key and anObjectvalue.- Example: a field name of "customfield_10007" and a value of "PRJ-1234". Some field names are case sensitive, e.g. "labels" instead of "Labels".
- Custom Fields - A dictionary containing key-value pairs for Jira fields. This property can be used with or instead of Additional Fields. Enter a
Dictionary<string,string>orDictionary<string,string>variable.- Example: New Dictionary(Of String, String) From {{"Epic Link", "PRJ-421" }}
- Components - The components you want associated with this issue. This field supports only
StringsorStringvariables. - Description - A string containing the description for the new issue. This field supports only
StringsorStringvariables. - Parent Issue Key - The key of the parent issue or epic. This field supports only
StringsorStringvariables.noteCurrently using custom field names such as "Epic Link" is not supported With Additional Fields. You will need to use the custom field ID, such as "customfield_10007". The work-around is to use the Custom Fields property.