Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow uppercase in URL? #27

Closed
marcomujica opened this issue Mar 7, 2019 · 4 comments
Closed

Allow uppercase in URL? #27

marcomujica opened this issue Mar 7, 2019 · 4 comments

Comments

@marcomujica
Copy link

If I create a custom webhook in Jira specifying the channel name in lowercase, the plugin works perfectly. If I try using the project.key variable (channel=${project.key}), the URL resolved in uppercase and I get a 404 error. Is there any change I can make to the webhook URL to send the post in lowercase or an edit to the plugin to negate case?

@levb
Copy link
Contributor

levb commented Mar 8, 2019

@marcomujica In Mattermost, when you click on the channel name (menu) in the header line, you can "Rename Channel". In that dialog box you can edit the Channel's URL "name" to match your project key. Will that work for you?

@marcomujica
Copy link
Author

Unfortunately, no. The channel name is in caps, but the channel URL is lowercase and cannot be changed to upper. The Jira project's key can only be uppercase. I could try using the variable project.id (ie 12345) for the URL and set a friendly name for the channel (ie test). Maybe that'll work.

@marcomujica
Copy link
Author

That seemed to work. I'll use this method for now, but it would be preferable to use the project key. Perhaps Jira could set up a better-fitting variable.

levb pushed a commit that referenced this issue Aug 10, 2020
…t modals (#27)

* subscribe with multi instance works

* Make JiraInstanceAndProjectSelector component

* Create issue modal

* Attach comment modal

* Fix tests

* Lint and few bug fixes

* remove message check. rename test file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants