51黑料不打烊

Jira modules

NOTE
These instructions apply to the new version of the Jira connector, which is simply labeled Jira. For instructions about the legacy Jira Cloud and Jira Server connectors, see Jira software modules.

In an 51黑料不打烊 Workfront Fusion scenario, you can automate workflows that use Jira, as well as connect it to multiple third-party applications and services.

The Jira connector can be used for both Jira Cloud and Jira Data Server.

For instructions on creating a scenario, see the articles under Create scenarios: article index.

For information about modules, see the articles under Modules: article index.

Access requirements

Expand to view access requirements for the functionality in this article.

You must have the following access to use the functionality in this article:

table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header
51黑料不打烊 Workfront package Any
51黑料不打烊 Workfront license

New: Standard

Or

Current: Work or higher

51黑料不打烊 Workfront Fusion license**

Current: No Workfront Fusion license requirement

Or

Legacy: Workfront Fusion for Work Automation and Integration

Product

New:

  • Select or Prime Workfront package: Your organization must purchase 51黑料不打烊 Workfront Fusion.
  • Ultimate Workfront package: Workfront Fusion is included.

Or

Current: Your organization must purchase 51黑料不打烊 Workfront Fusion.

For more detail about the information in this table, see Access requirements in documentation.

For information on 51黑料不打烊 Workfront Fusion licenses, see 51黑料不打烊 Workfront Fusion licenses.

Prerequisites

To use Jira modules you must have a Jira account.

Connect Jira to Workfront Fusion

Create needed credentials

To create connections to Jira, you will need the following:

Connection type
Account type
Credentials needed
OAuth 2
Any
Client ID and Client Secret
Basic
Jira Cloud
Jira API token
Basic
Jira Data Center
Jira Personal Access Token (PAT)

For instructions on creating any of these, see the Jira documentation.

When creating these credentials, you will need the following information:

  • For OAuth 2:

    table 0-row-2 1-row-2 2-row-2 3-row-2
    Fusion datacenter Redirect URL
    US https://app.workfrontfusion.com/oauth/cb/workfront-jira2
    EU https://app-eu.workfrontfusion.com/oauth/cb/workfront-jira2
    Azure https://app-az.workfrontfusion.com/oauth/cb/workfront-jira2
  • For Personal Access Tokens (PATs):

    table 0-row-2 1-row-2 2-row-2 3-row-2
    Fusion datacenter Redirect URL
    US https://app.workfrontfusion.com/oauth/cb/workfront-jira
    EU https://app-eu.workfrontfusion.com/oauth/cb/workfront-jira
    Azure https://app-az.workfrontfusion.com/oauth/cb/workfront-jira
    note important
    IMPORTANT
    To use a PAT, you must enable the following in the files jira/bin/WEB-INF/classes, in the file jira-config.properties:
    • jira.rest.auth.allow.basic = true
    • jira.rest.csrf.disabled = true
    If this file does not exist, you must create it.

Create the connection to Jira in Workfront Fusion

To create the connection in Workfront Fusion:

  1. In any Jira module, click Add next to the Connection field.

  2. Configure the following fields:

    table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 8-row-2 9-row-2 layout-auto html-authored no-header
    Connection type Select whether you are creating a basic connection or an OAuth 2 connection.
    Connection name Enter a name for the new connection.
    Service URL Enter your Jira instance URL. This is the URL you use to access Jira.
    Jira account type Select whether you are connecting to Jira Cloud or Jira Data Center.
    Client ID If you are creating an OAuth 2 connection, enter your Jira Client ID
    Client Secret If you are creating an OAuth 2 connection, enter your Jira Client Secret
    Email If you are creating a basic connection to Jira Cloud, enter your email address.
    API Token If you are creating a basic connection to Jira Cloud, enter your API Token.
    Personal Access Token If you are creating a basic connection to Jira Data Center, enter your Personal Access Token.
    API version Select the Jira API version that you want this connection to connect to.
  3. Click Continue to create the connection and go back to the module.

Jira modules and their fields

When you configure Jira modules, Workfront Fusion displays the fields listed below. Along with these, additional Jira fields might display, depending on factors such as your access level in the app or service. A bolded title in a module indicates a required field.

If you see the map button above a field or function, you can use it to set variables and functions for that field. For more information, see Map information from one module to another.

Map toggle

Triggers

Watch for records

This trigger module starts a scenario when a record is added, updated, or deleted.

Webhook

Select the webhook that you want to use to watch for records, or create a new webhook.

To create a new webhook:

  1. Click Add

  2. Enter a name for the webhook.

  3. Select the connection you want to use for your webhook.

    For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.

  4. Select the record type that you want the software to watch for:

    • Issue
    • Comment
    • Worklog
    • Project
    • Sprint
    • Attachment
  5. Select one or more event types that will trigger this scenario.

  6. Enter a Jira Query Language filter for this module.

    For more information on JQL, see at the Atlassian help site.

  7. Click Save to save the webhook.

Actions

Add issue to sprint

This action module adds one or more issues to a sprint.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
Sprint ID
Enter or map the Sprint ID of the sprint that you want to add an issue to.
Issue ID or keys
For each issue or key that you want to add to the sprint, click Add item and enter the issue ID or key. You can enter up to 50 in one module.

Create a Record

This action module creates a new record in Jira.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
Record Type

Select the type of record you want the module to create.

  • Attachment
  • Comment
  • Issue
  • Project
  • Sprint
  • Worklog
  • User
  • Board
  • Category
  • Filter
Other fields
Fill in the other fields. Fields are available depending on the selected record type.

Custom API Call

This action module lets you make a custom authenticated call to the Jira API.

Select the HTTP request method you need to configure the API call. For more information, see HTTP request methods.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
URL
Enter a path relative to<Instance URL>/rest/api/2/
Method
Headers

Add the headers of the request in the form of a standard JSON object.

For example, {"Content-type":"application/json"}

Workfront Fusion adds the authorization headers for you.

Query String

Add the query for the API call in the form of a standard JSON object.

For example: {"name":"something-urgent"}

Body

Add the body content for the API call in the form of a standard JSON object.

Note:

When using conditional statements such as if in your JSON, put the quotation marks outside of the conditional statement.

Delete a record

This action module deletes the specified record.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
Record type

Select the type of record you want the module to delete.

  • Comment
  • Issue
  • Project
  • Sprint
  • Worklog
  • Attachment
  • Board
  • Category
  • Filter
(Record type)ID
Enter or map the ID or key of the record you want to delete.

Download an attachment

This action module downloads the specified attachment.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
ID
Enter or map the ID of the attachment you want to download.

Read a record

This action module reads data from the specified record in Jira.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
Record Type

Select the type of Jira record you want the module to read.

  • Attachment
  • Comment
  • Issue
  • Project
  • Sprint
  • Worklog
  • User
  • Board
  • Category
  • Filter
Outputs
Select the outputs that you want to receive. Output options are available based on the type of record selected in the "Record Type" field.
(Record type) ID
Enter or map the unique Jira ID of the record that you want the module to read.

Update a record

This action module updates an existing record, such as an issue or project.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
Record Type

Select the type of record you want the module to update. When you select a record type, other fields specific to that record type appear in the module.

  • Comment
  • Issue
  • Project
  • Sprint
  • Transition issue
  • Category
  • Filter
ID or Key
Enter or map the ID or key of the record you want to update.
Other fields
Fill in the other fields. Fields are available depending on the selected record type.

Searches

Search for records

This search module looks for records in an object in Jira that match the search query you specify.

You can map this information in subsequent modules in the scenario.

When you are configuring this module, the following fields display.

Connection
For instructions about connecting your Jira account to Workfront Fusion, see Connect Jira to Workfront Fusion in this article.
Record Type

Select the type of record you want the module to search for. When you select a record type, other fields specific to that record type appear in the module.

  • Issue
  • Project
  • User
  • Sprint
  • Board
  • Worklog
  • Comment
  • Transition Issue
  • Category
Max Results
Enter or map the maximum number of records you want the module to retrieve during each scenario execution cycle.
Offset
Enter or map the ID of the first item you want to retrieve details for. This is a way to paginate the records. If you enter the 5000th item as the offset, the module would return items 5000-9999.
Other fields
Fill in the other fields. Fields are available depending on the selected record type.
recommendation-more-help
7e1891ad-4d59-4355-88ab-a2e62ed7d1a3