Now Available ✨ Use project status updates with GraphQL and webhooks #129854
Unanswered
github-staff
asked this question in
Projects and Issues
Replies: 1 comment 1 reply
-
Is this available in Actions or only for webhooks to external services? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today's changelog brings you GraphQL and webhook support for project status updates and project custom field changes directly in the webhook event!
⚙️ Using GraphQL and webhooks with project status updates
Following our release earlier this year for project status updates, you can now interact with project status updates using GraphQL and webhooks. This unlocks new ways to automate how you provide and gather project status update information.
GraphQL
There is a new
ProjectV2StatusUpdate
GraphQL object to interact with project status updates, so you can view, create, update, and delete status updates.Below is an example query to create a new project status update.
Webhooks
Project status updates are included in the new
projects_v2_status_update
webhook event, so you can understand and be notified when a new project status update is provided.You must be subscribed to this event from the organization settings page to receive this information.
Below is an example of a webhook event.
➕ Using webhooks for project custom field changes
Project custom field changes are now included directly in the
project_v2_item
webhook event when a project item's fields are edited, removing the need to send an additional GraphQL query. This gives you the previous and current field values to understand how project fields change over time and how long they have a particular value, allowing you to understand how long an item wasIn progress
before moving toDone
status.Below is an example of the webhook which includes the previous and current value for
single select
,text
,number
,iteration
, anddate
project custom fields using thechanges
parameter.✨ Bug fixes and improvements
convertProjectV2DraftIssueItemToIssue
GraphQL mutation to convert drafts to issues✍️ Tell us what you think!
Share your feedback by posting a comment below 👇 How are you going to use this in your projects?
See how to use GitHub for project planning with GitHub Issues, check out what's on the roadmap, and learn more in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions