Replies: 1 comment 2 replies
-
Hello @dmirell, If I understood you correctly, you would like to do the following: --> Issue set to in Progress --> Set started_at to As this action supports changes for each field, you should be able to do this. You can find the property definition for the fields here: https://github.com/leonsteinhaeuser/project-beta-automations#json-definition The following action should apply to your use case (not tested). on:
issues:
jobs:
issue_project_custom_field_update:
name: issue_opened_or_reopened
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened')
runs-on: ubuntu-latest
steps:
- name: Move issue to In Progress
uses: leonsteinhaeuser/[email protected]
with:
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
user: sample-user
project_id: 1
resource_node_id: ${{ github.event.issue.node_id }}
status_value: "In Progress"
- name: 'Set started at'
uses: leonsteinhaeuser/[email protected]
env:
DEBUG_LOG: "true"
with:
gh_token: ${{ env.gh_project_token }}
organization: ${{ env.gh_organization }}
project_id: ${{ env.project_id }}
resource_node_id: ${{ github.event.issue.node_id }}
operation_mode: custom_field
custom_field_values: `[{\"name\": \"started_at\",\"type\": \"iteration\",\"value\": \"@current\"}]` |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is that possible to set started_at field when I move my issue to In progress state?
Beta Was this translation helpful? Give feedback.
All reactions