CircleCI-Public / jira-connect-orb

Display the status of CircleCI workflows and deployments in Jira!
https://circleci.com/orbs/registry/orb/circleci/jira
MIT License
25 stars 27 forks source link

Deployment status not added when triggered on tag version. #53

Closed ennioma closed 2 years ago

ennioma commented 3 years ago

Orb version

orbs: jira: circleci/jira@1.3.0

What happened

I've a pipeline which is triggered when something is merged to develop.

When it happens we trigger a new workflow which tags a new version of our software.

Screenshot 2020-11-13 at 11 25 32

As you can see, the flow is triggered on a specific tag.

And the jira_notify job is executed here:

Screenshot 2020-11-13 at 11 24 21

That release include only one ticket which has been merged to develop, i.e. it's ABC-123 and that ticket name is included:

  1. in the branch name which has been merged to develop
  2. in one of the new commits merged to develop

This is the yml chunk where I've configured jira_notify:

      - base_checkout:
          name: Prod deploy
          post-steps:
            - jira/notify:
                environment_type: production
                job_type: deployment
                scan_commit_body: false

I've tried with both scan_commit_body = true and false.

Expected behavior

The ticket ABC-123 is marked as deployed on JIRA

Actual behavior

Screenshot 2020-11-13 at 11 24 10
ennioma commented 3 years ago

Actually if I enable scan_commit_body: true I get

Screenshot 2020-11-13 at 17 03 31
KyleTryon commented 2 years ago

Though this appears to have come first, there is more conversation in #58 which appears to be a dupe. Closing this issue in favor of the dupe, #58