Add a trigger to a journey
The features described in this article are only available to those participating in the early access program (EAP) for journeys in Jira Service Management.
Every journey starts with a trigger which listens out for a specific event to occur. Once this event takes place, your journey will begin to run. The trigger for a journey will always be pre-set as when your chosen parent request type is created, although you can change this to be triggered by Workday using an Automation rule if desired.
Trigger a journey using Workday via Automation
Before you begin
You need to register an API client in Workday before creating a connection between your project and Workday. You’ll need to use these details to create a connection each time you wish to integrate with Workday.
Register an API client in Workday
Sign in to your Workday account.
In the search box at the top of the page, enter "Register API client".
Select Register API Client.
Complete the form. For more information, search for “Register API client” in the Workday community. Form field instructions:
Client Grant Type: select Authorisation Code Grant
Access Token Type: select Bearer
Redirection URI: https://id.atlassian.com/outboundAuth/finish
Non-Expiring Refresh Tokens: select Yes
Scope (Functional Areas): search for and select Staffing
Select OK.
On the next screen, you will see all the details you need to connect Jira to Workday. You can access these details in Workday later but the “Client Secret” will only be shown once. We recommend you save this somewhere safe.
Set Workday as your trigger in a journey
In the journey you wish to add a Workday trigger to, select Edit on trigger.
Select the Worker added to Workday trigger as the event that causes the journey to run.
To retrieve the rule ID, select the template link provide to create an Automation rule.
You’ll be taken to Automation where you can begin setting up your rule. This will include creating a connection with Workday.
Connect to Workday via Automation
Using the details you received when you registered the API client in Workday, you’ll be able to connect to Workday via the Automation template link provided.
Before you begin
Make sure you’ve set up an integration system in Workday. For instructions on how to do this, search for “create integration system” in the Workday community.
Select the Worker added to Workday trigger and select Connect.
Complete the form with the details you received when you registered the API client in Workday.
Select Connect.
You will be taken to Workday for authorization.
Sign in to Workday.
When prompted to “Authorize Workday”, select Allow.
If you created the connection for a trigger, you need to create an API token and copy it into Workday.
Select Generate API token. You will be taken to your Atlassian API tokens.
Select Create API token.
Give the token a label and select Create.
Select Copy.
In Workday, go to your integration system and in the External Endpoints section, paste your Webhook URL into the Notification URL field and your API token into the Notification Password field.
Select OK.
Finish setting up Workday Automation rule
Once Workday has been connected, you’ll be able to retrieve data and use it in Jira. To retrieve worker details from Workday, you’ll need to access smart values and populate the Workday ID field with
Select the Retrieve worker details from Workday card.
Select the smart values icon { } to populate the Workday ID field.
Select Workday, then Workday - Worker details.
Copy the
{{workday.worker.employeeID}}
smart value and paste it in the Workday ID field.Select the Create issue with a request type card.
Select the project and request type you wish to use as the parent issue the journey will be built upon.
Either manually enter values or use Workday smart values to populate the fields on the request type.
Select Turn on rule to enable it for the journey.
This rule won’t be triggered until your journey is published.
Once your rule is enabled, it will produce a unique rule ID that can be found in the URL. Copy this number and navigate back to your journey.
Paste the ID into the Rule ID field and select Confirm.
Was this helpful?