This examples
Button handy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Button handy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
This page is about Easy Integrations for Jira Cloud. Using Jira On-Prem? Click the On-Prem button above. |
This example shows an Easy Integrations listener to create an Azure DevOps work item when a Jira issue is created.
...
1- Open Azure DevOps profile and create a Personal Access Token (PAT) with the maximum Expiration date. Don't forget to note the token!
...
2- Open Jira > Easy Integrations configuration > Credentials, and add a new Basic Authorization credential with the PAT information.
...
3- Open Jira > Easy Integrations configuration > Listeners, and add a Listener with the following information.
Field | Description | Example value | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Listener name | Give a name to track | Azure DevOps Integration | ||||||||||||||||||||
Listener is enabled | Works only when enabled | Checked | ||||||||||||||||||||
Retry attempt count | When something went wrong, number of retry count | 3 | ||||||||||||||||||||
Events | Only one event is enough for the example | JQL can be different, this example listens only Bug issues.
| ||||||||||||||||||||
Condition | Pre-condition of the listener. | Checked | ||||||||||||||||||||
Condition script | Let's process issues those only have description starting with Good | return lodash.startsWith(data.event.issue.fields.summary, 'Good'); | ||||||||||||||||||||
Action 1 | Add a new "Call a Rest API" action |
| ||||||||||||||||||||
Action 2 | Add a new "Update a Jira issue" action |
| ||||||||||||||||||||
Save | Click Submit to save |
4- Create a Jira bug issue. If everything went well, a new Azure DevOps work item should be created and all operations should be logged to Execution Logs.
...
Example Screenshots
Listener screen
...
First Action
...
Second Action
...