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

Added the ability to make calls to JIRA Cloud #282

Closed
wants to merge 3 commits into from

Conversation

cevatkerim
Copy link

@cevatkerim cevatkerim commented Nov 3, 2023

image

Make sure to have the following ENV variables:

JIRA_SERVER
JIRA_USER
JIRA_KEY

It can get a single issue or make arbitrary JQL calls to your instance.

@sarahwooders
Copy link
Collaborator

sarahwooders commented Nov 3, 2023

@cpacker maybe we should add support for user-configurable presets? Then users can toggle this preset along with others.

@cpacker
Copy link
Collaborator

cpacker commented Nov 3, 2023

@cevatkerim this is awesome, thank you for opening a PR with this!

We probably don't want to create a dependency for jira for all users, since only a fraction will want the functionality.

@sarahwooders yeah maybe make the presets toggleable, and presets can also define extra packages they need?

@cevatkerim
Copy link
Author

@cevatkerim this is awesome, thank you for opening a PR with this!

We probably don't want to create a dependency for jira for all users, since only a fraction will want the functionality.

@sarahwooders yeah maybe make the presets toggleable, and presets can also define extra packages they need?

It would be great to find a solution for this. I am already working on Confluence and some other integrations. How can we make this more extensible?

@agiletechnologist
Copy link
Contributor

@cevatkerim wouldn't be using aiohttp, which allows asynchronous requests to work better than requests which is not asynchronous?

@cevatkerim
Copy link
Author

aiohttp

Not sure. Are you suggesting that instead of using a jira library?

@cpacker cpacker mentioned this pull request Nov 7, 2023
@cpacker
Copy link
Collaborator

cpacker commented Nov 11, 2023

@cevatkerim let me know what you think of the workflow for adding new functionality like JIRA tickets here: #420

Once the linked refactor is merged in, I'm happy to rewrite this PR for you in the new preset format.

@cpacker
Copy link
Collaborator

cpacker commented Nov 15, 2023

Hey @cevatkerim just an FYI we recently built in new "memgpt extensions" support via presets and drag-and-drop .py functions.

I put your Jira example in the documentation: https://memgpt.readthedocs.io/en/latest/functions/

What do you think? Does this sort of workflow make sense for you?

Happy to also merge your Jira example into the "canonical" examples (for example putting it inside the provided example function sets).

@cpacker
Copy link
Collaborator

cpacker commented Feb 8, 2024

Rolled into official documentation sometime in 0.2.x as the example. Can re-open later to add into the official repo once we figure out how we want to support community function extensions (as a contrib library maybe?).

@cpacker cpacker closed this Feb 8, 2024
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.

4 participants