Open PoivronMax opened 4 months ago
Just to confirm @PoivronMax , is your setup similar to https://community.atlassian.com/t5/Jira-questions/Attachment-requirement-validator/qaq-p/2607275?
I'm not sure the JIRA API itself actually allows uploading files during transition due to the different type of request. Perhaps a workaround would be to change the validation to check if an attachment is present for the issue and then transition, instead of requiring an attachment at the time of permission, somewhat related conversation over here - https://community.atlassian.com/t5/Jira-questions/Workflow-transition-dependent-on-attachment/qaq-p/1765403
Bug summary
I now want to use the transition_issue function to change the status of JIRA, but since attachments must be added when the status changes, transition_issue cannot update attachments, so there is no way to change the JIRA status. I would like to ask how to change the jira status through transition_issue when the attachment is a required item.
Error: response text = {"errorMessages":[],"errors":{"attachment":"Field does not support update 'attachment'"}}
Is there an existing issue for this?
Jira Instance type
Jira Cloud (Hosted by Atlassian)
Jira instance version
No response
jira-python version
main
Python Interpreter version
3.8
Which operating systems have you used?
Reproduction steps
Stack trace
Expected behaviour
JIRA Status Changed
Additional Context
No response