Hi,
currently I'm working in a project say 'xxx' and has a fixVersion say 'yyy' and cyclename say 'Zzz'
i wrote query to search for all the issue in that cycle and want to check whether all issue has attachment file present in it.
only some issue is returning attachment file in json file even though all issue is properly attached with files.
please help me with this problem
Fields & expand should be a List
&fields=[attachment]
Hi @Ramji
What I understand from your question:
Based on a JQL query you want to retrieve attachment details from all issues in that query. Your problem is that not all returned issues have attachment details in the json. Is that correct?
Can you post you jql query and REST call here?
Make sure you check the REST API documentation: https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/#api/2/issue-getIssue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes that's the question
here is my jql query:
htttp://<URL>/jira/rest/api/2/serach?zql=project = <projectName> AND fixVersion = <fixversion> AND cycleName = <cycleName>
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try adding this to the end of your url: &fields=attachment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried fields but its not working, Also i tried
htttp://<URL>/jira/rest/api/2/issue/{issueid} url on two different issues from same cycle,
one of the issue is fetching attachments while other is not but both the issue has file attached to it respectively.
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 Ramji @Ramji,
I am also facing the same issue: I tried:
htttp://<URL>/jira/rest/api/2/issue/{issueid} url on two different issues from same cycle,
one of the issue is fetching attachments while other is not but both the issue has file attached to it respectively.
Is there any solutions or findings on this?
Thanks
Siva Kalidasan
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.