JIRA plugin does not support PAT auth #497

Closed
opened 2026-02-16 10:19:34 -05:00 by yindo · 3 comments
Owner

Originally created by @frenoid on GitHub (Jul 29, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.0

Plugin version

jira 0.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. In JIRA, generate a PAT token
  2. In Dify, install the jira 0.0.1 plugin
  3. Click on Authorization for the jira 0.0.1 plugin
  4. Enter Authorization name, JIRA URL, Username, API Token
  5. Note API Token is entered as "Bearer {PATtoken}"
  6. Receive Unauthorized 401 error

The issue is the jira plugin only implements the Basic login method https://github.com/langgenius/dify-official-plugins/blob/main/tools/jira/tools/get_issue.py#L20

But authentication using PAT token requires using another method https://jira.readthedocs.io/examples.html#jira-self-hosted-incl-jira-server-data-center

✔️ Error log

No response

Originally created by @frenoid on GitHub (Jul 29, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.0 ### Plugin version jira 0.0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. In JIRA, generate a PAT token 2. In Dify, install the jira 0.0.1 plugin 3. Click on Authorization for the jira 0.0.1 plugin 4. Enter Authorization name, JIRA URL, Username, API Token 5. Note API Token is entered as "Bearer {PATtoken}" 6. Receive Unauthorized 401 error The issue is the jira plugin only implements the Basic login method [https://github.com/langgenius/dify-official-plugins/blob/main/tools/jira/tools/get_issue.py#L20](https://github.com/langgenius/dify-official-plugins/blob/main/tools/jira/tools/get_issue.py#L20) But authentication using PAT token requires using another method [https://jira.readthedocs.io/examples.html#jira-self-hosted-incl-jira-server-data-center](https://jira.readthedocs.io/examples.html#jira-self-hosted-incl-jira-server-data-center) ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:19:34 -05:00
yindo closed this issue 2026-02-16 10:19:34 -05:00
Author
Owner

@frenoid commented on GitHub (Jul 30, 2025):

Correction:
The bug is in the jira plugin 0.0.1, not the confluence plugin

@frenoid commented on GitHub (Jul 30, 2025): Correction: The bug is in the jira plugin 0.0.1, not the confluence plugin
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

Hi, @frenoid. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that the JIRA plugin (v0.0.1) in Dify (v1.7.0) does not support authentication via Personal Access Tokens (PAT), resulting in a 401 Unauthorized error.
  • The plugin currently only supports Basic login authentication.
  • You clarified that this issue is specific to the JIRA plugin and does not affect the Confluence plugin.
  • No updates or fixes have been provided since your last comment.

What's Next:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting below.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 19, 2025): Hi, @frenoid. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that the JIRA plugin (v0.0.1) in Dify (v1.7.0) does not support authentication via Personal Access Tokens (PAT), resulting in a 401 Unauthorized error. - The plugin currently only supports Basic login authentication. - You clarified that this issue is specific to the JIRA plugin and does not affect the Confluence plugin. - No updates or fixes have been provided since your last comment. **What's Next:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting below. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Author
Owner

@keygendnl commented on GitHub (Nov 1, 2025):

The error still persists. Alexey previously suggested a link with a similar implementation in the Confluence plugin. Please note.

@keygendnl commented on GitHub (Nov 1, 2025): The error still persists. Alexey previously suggested a link with a similar implementation in the Confluence plugin. Please note.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#497