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

Initial support for search arguments #241

Closed
wants to merge 3 commits into from

Conversation

dericksonmark
Copy link
Member

@dericksonmark dericksonmark commented Sep 22, 2021

Purpose

#238 should be fixed by this.

Adds arguments to the !jira search command!

There are two types of arguments that can be used with this, which are arguments that start with : and arguments that start with _.

Arguments starting with : are single-word arguments, and there's currently only one of these: :query. This argument allows users to use a JQL query that they write themself, instead of using the building blocks that the !jira search command provides. Example usage: !jira search :query text ~ crash AND reporter = markderickson

Arguments starting with _ are multi-word arguments, and there are lots of these: _project, _creator, _reporter, _assignee, _version, _fixversion, _resolution, _status, _confirmation, _gamemode, _id, _key, _labels, _priority, _mp, _comment, _summary, _description, _environment. Each one of these can be paired with a corresponding value to build onto the query. Using only multi-word arguments allows for usage of the command as it works currently. Example usage: !jira search _project MC _labels crash _reporter markderickson _mp "Very Important" _confirmation "Community Consensus" height limit crash 256

I will work on this once the bot is updated to discord.js version 13!

@dericksonmark dericksonmark linked an issue Sep 22, 2021 that may be closed by this pull request
@dericksonmark dericksonmark marked this pull request as draft January 8, 2022 03:52
@dericksonmark
Copy link
Member Author

Closed in favor of #261.

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

Successfully merging this pull request may close these issues.

Add more features to !jira search
1 participant