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

Workflow needed to create & assign issue #8

Open
LindsayHill opened this issue Jul 25, 2017 · 0 comments
Open

Workflow needed to create & assign issue #8

LindsayHill opened this issue Jul 25, 2017 · 0 comments

Comments

@LindsayHill
Copy link
Contributor

It is not possible to assign an issue to a user at creation time, using extra_fields with assignee

Instead, a workflow needs to create the issue, then assign it.

Notes from @lakshmi-kannan on original st2contrib issue (StackStorm/st2contrib#480)

Unfortunately, the client library and APIs are not well thought out. There is another method you have to call if you want to assign the issue. https://github.com/pycontribs/jira/blob/develop/jira/client.py#L923, It looks like there are two APIs - 1. Create issue - https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-create-issue 2. Assign issue via create meta API - https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-edit-issues
They can be combined into a single action or a workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant