UiPath Documentation
activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Activités Classic Integration

Dernière mise à jour 18 mai 2026

Configuration

Introduction

Pour vous connecter à Jira à l'aide de ce package d'activités, vous devez d'abord créer les informations d'identification requises par l' étendue Jira pour authentifier tous les appels suivants. L’étendue prend actuellement en charge deux types d’authentification:

  • API Token: An authentication token is generated by Jira for your user. This method supports fully unattended automations.
  • OAuth 2.0: A client ID and secret are generated by Jira and may be used for all users within an organization. This method displays, at runtime, a login screen in which a user may enter their login credentials for Jira or any of its SSO providers. A token is produced and saved locally. This token is short-lived and may have to be refreshed at a later time. For this reason, this method supports attended and some unattended automations.

Please follow the steps below to prepare a set of credentials for your activities.

Identifiants

Option 1: API Token

  1. Suivez les instructions d’Atlassian ici pour générer un jeton d’API.
  2. Add a Jira Scope to your workflow and change the Authentication Type parameter to Api Token.
  3. Fill in the Server URL property with the URL of your organization's Jira instance. For Cloud instances, this is usually in the form of https://<your org>.atlassian.net.
  4. Lastly, fill in the Api Token property with the token generated in step 1 and the Username property with the email you use to log into the designated Jira instance. The Jira Scope is now ready for use.

Option 2: OAuth 2.0

  1. Suivez les instructions d'Atlassian ici sur l'activation d'OAuth 2.0 (3LO) pour créer une nouvelle « application».

  2. Under APIS AND FEATURES, select OAuth 2.0 (3LO). Enter http://127.0.0.1:10001/authorize/ in the Callback URL field. This instructs the Jira app to return to the machine running the activities once it has finished authenticating a user.

  3. Under APIS AND FEATURES and select Add to give the app access to Atlassian APIs. Select the Add button under Jira platform REST API.

  4. The Add button will be replaced with one that says Configure. Click this to choose the permissions given to the app. Add read:jira-work, manage:jira-project, manage:jira-configuration, read:jira-user, and write:jira-work.

  5. Navigate back to App Details and copy your Client ID and Secret. These may now be used in a workflow.

  6. Add a Jira Scope to your workflow and change the Authentication Type parameter to OAuth 2.0.

  7. Fill in the Server URL property with the URL of your organization's Jira instance. For Cloud instances, this is usually in the form of https://<your org>.atlassian.net.

  8. Enfin, remplissez les propriétés ID de client et Clé secrète du client avec les valeurs copiées à l'étape 5. L’étendue Jira est désormais prête à l’emploi. Pour transformer le type de variable de String en SecureString, dans le paramètre par défaut de clientSecret, vous pouvez utiliser cette commande: (new System.Net.NetworkCredential("","*YOUR_SECRET*")).SecurePassword

  9. If you follow the above steps in Studio and you receive the RemoteException wrapping System.Net.HttpListenerException: The network location cannot be reached. For information about network troubleshooting, see Windows Help error message when trying to execute the Jira Scope, the solution is to open a cmd.exe as Administrator and run this command:

    netsh http add iplisten ipaddress=127.0.0.1

  10. After the first execution of the Jira Scope, you receive an authorization request window in your default browser where you need to specify the Jira site and then click Accept.

  • Introduction
  • Identifiants
  • Option 1: API Token
  • Option 2: OAuth 2.0

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour