im using api rest to get all projects and another api to get all issues and another api to get all logged issues
i want to group all issuses by project and get all logg grouped by issue
Hello Ayoub,
Please, confirm if I have properly understood your request just to know we are on the same page here:
1 - You are using a rest API to return all issues in your JIRA Cloud and you want it to be ordered per project. Is it correct?
To achieve the scenario above, you can use the following REST API:
https://yourdomain.atlassian.net/rest/api/3/search?jql=order+by+project
2 - You are using a REST API to return all the work log entries performed in your issues and you want them to be grouped per issue, so all the work log entries performed for a common issue will be grouped together in the list. Is it correct?
To achieve the scenario above, you can create a script and configure it with a single REST API call for each issue work log entries:
- https://yourdomain.atlassian.net/rest/api/3/issue/TEST-1/worklog
- https://yourdomain.atlassian.net/rest/api/3/issue/TEST-2/worklog
- https://yourdomain.atlassian.net/rest/api/3/issue/TEST-3/worklog
Let me know if this is what you were trying to achieve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.