Hi all,
I am trying to access the Jira story/issue via REST API. Now I want to automatically reject the story based on the availability of file attachment in Jira story/issue.
How can I achieve this?
Note: I am new to the Jira REST API. if there is another way, I would be happy to listen.
Thanks in advance
Hi @kumar
I've answered a similar question here: https://community.atlassian.com/t5/Jira-Work-Management-Questions/Re-How-to-Inspect-the-Attachment-field-for-a-specific-fi/qaq-p/2772472/comment-id/12971#M12971
I hope it will help.
Cheers
Hi @kumar
What is the use case scenario for this?
Do you want to check if there is any attachment in the Jira issue only?
Perhaps you may consider setting a validator with ScriptRunner to ensure an attachment is required on a workflow transition.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Victor Law
Thank you for your answer.
Usually we get stories for analyze and fixing the code based on traces. But often traces are not attached to the stories, so we need to reject those stories, if there are no traces in the stories.
I hope that I explained it properly.
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Victor Law
Is there an options to achieve this task via workflow automation?
Based on this
Thank you
https://www.atlassian.com/software/jira/guides/automation/overview#board-vs-project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.