The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have an automation rule which ideally should transition an issue from `Status A` to `Status B` on a successful build deployment.
The problem is that I can see a successful deployment, but the issue isn't transitioned.
I'm using CircleCI w/ Jira Orb, config:
version: 2.1
executors:
xcode_executor:
macos: xcode: 13.3.0
orbs:
jira: circleci/jira@1.3.1
jobs:
jira-automation-job:
executor: xcode_executor
steps:
- checkout
- run: bundle
- run: bundle exec fastlane jira_automation
workflows:
jira-automation-workflow:
jobs:
- jira-automation-job:
post-steps:
- jira/notify:
job_type: deployment
When: Build successful
Then: Transition issue to Status B
Pipeline logs:
This job is passing, however another job in workflow is runningUpdate Jira with status: successful for 202Results from Jira: ERROR: unknown association
{
"unknownIssueKeys": [],
"unknownAssociations": [
{
"values": [
""
],
"associationType": "serviceIdOrKeys"
}
],
"acceptedDeployments": [
{
"pipelineId": "xxxx",
"environmentId": "xxxx",
"deploymentSequenceNumber": 202
}
],
"rejectedDeployments": []
}
(the screenshot is for the deployment for one particular ticket - ending in `-92`)
Update: this workflow/deployment setup is working fine now. The automation rule I had setup was incorrect.
The rule I had:
When: Build successful
Then: Transition issue to Status B
Correct rule:
When: Deployment successful
Then: Transition issue to Status B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.