Hello folks,
I would like to get the project Id or key or object through event listener when I update the workflow status/event. Is there a API to get the details of a project for which workflow updated? It would be helpful if anyone point me with the example or links.
Currently, we are getting event and iterating over all the projects irrespective of a project for which workflow is updated.
Thanks
Hi,
As I understand workflow is relative to workflowscheme which is relative to project. I suppose you can find projects for workflow using ProjectWorkflowSchemeHelper#getProjectsForWorkflow method.
Hi,
This API won't work out for me since it's providing all the projects available.
Lets say, when we add existing workflow for project [Sample]. I should get the workflow project_id or project object from the event WorkflowSchemeUpdatedEvent() for the particular project where I changed workflow scheme.
suppose, if we change workflow scheme for particular issue type [Bug], then we should get issue_type name or id with the event_listener.
Also ,can you please help me to get the ProjectWorkflowSchemeHelper instance on event listener?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.