I present to you below a communication solution through REST API queries to JIRA on-premise (local server in your company).
I have created 7 files with sample working code. I currently use these workflows in my JIRA automation.
The activity packages available in UiPath Studio like
are based on cooperation with JIRA Cloud, where you can easily generate an API Token.
The solution below offers ready-made tools for companies that have a server version.
For JIRA automation you will need:
JIRA on-prem (I have version 7.0 Server in my organization) JIRA REST API Reference
JIRA permissions: password and login (as for standard user login)
UiPath Studio with additional packages in project:
Chilkat .NET Class Library (x86) [chilkat-win32: ver. > = 184.108.40.206] or
Chilkat .NET Class Library (x64) [chilkat-x64: ver. > = 220.127.116.11]
Remember to add set of namespaces to Project Imports:
Thanks to the possibility of building an API query based on the Chilkat library, we can provide credentials in the form of user login and password for Jira.
Examples of using JIRA on-prem with the Chilkat library can be found here:
Main Site of examples: http://rest-examples.chilkat.io/default.cshtml
Sample VB.NET Code for JIRA Create Issue (POST API):
We process the response on JSON Object and extract the data we are interested in.
Jira supports the day format as standard ISO 8601. In UiPath Studio we need changing the ISO 8601 date notation from:
(removing the last colon from offset) with is accepted by JIRA.
Code for change notation:
DateTime.ParseExact(in_errorDate,"MM/dd/yyyy HH:mm:ss", System.Globalization.CultureInfo.InvariantCulture).ToString(dateFormat).Remove(26, 1)
Use UiPath Project: API_JIRA_on_prem_UiPath.7z (20,8 KB)