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

:bug: Use the login field instead the name to avoid profile without name [semver:patch] #41

Closed mauriciojovel closed 4 years ago

mauriciojovel commented 4 years ago

Checklist

Motivation, issues

This commit fix the problem describe in this bug https://github.com/CircleCI-Public/jira-connect-orb/issues/40.

Description

Change the lookup field name for login

KyleTryon commented 4 years ago

Hello @mauriciojovel,

While we took a different approach, would you mind letting us know if this issue is now resolved in 1.1.6?

mauriciojovel commented 4 years ago

Hi,

The problems is happening in the version 1.1.6

Screenshot 2020-04-08 09 32 39
KyleTryon commented 4 years ago

@mauriciojovel hey I realize now the last patch I added was unnecessary and actually accomplishes pretty much the same thing as before. I will likely revert this shortly.

Can you confirm for me, are you using a user token or a project token?

Could you manually attempt to curl this endpoint with your token and ensure you are getting back an authenticated response?

mauriciojovel commented 4 years ago

Hi @KyleTryon ,

I'm using user token, when I tried to use the project token the process fails with the error You must login first

cpe-bot commented 4 years ago

BotComment: Production version of orb available for use - circleci/jira@1.1.7