Atlassian Jira
Reward developers as they action tickets and other work issues.
Last updated
Reward developers as they action tickets and other work issues.
Last updated
Send perks to users by creating a project automation.
Refer to the Jira automation documentation for more information about using outgoing webhooks.
An existing promotion with a token.
Admin access to a Jira project
In the Jira Project Settings, choose Automation.
Click Create rule button.
Choose the applicable trigger for the reward. To get started select Field value changed. Modify the trigger conditions to match your use case.
Click Next.
Click IF: Add a condition.
Select Issue fields condition.
Select field Status and Condition "equals".
Under Value select an appropriate status such as Done or Resolved.
Click Next.
Click THEN: Add an action. Choose Send web request.
Enter the following values:
Web request URL: https://perk.exchange/api/perks
HTTP method: POST
Web request body: Custom data
Custom data: {"platform": "email", "user_id": "{{issue.assignee.emailAddress}}"}
Headers, enter x-perk-token
in the first text box and XXXXXXXX
in the second box. Replace XXXXXXXX
with your promotion token.
Click Next.
Click Turn on rule button to activate the rule.
Assign a memorable name to this rule; such as: "Issue Perk"
Comment
Create a trigger for Work logged events to reward users when they track their time.
NOTE: Additional placeholders like issue.assignee.emailAddress
are documented online.