Hello All,
Could you please tell me API to fetch projects and tasks assigned to a user? Do we have any way?
Thanks,
Vishal
Hello,
You could use Jira Rest Api:
https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/?_ga=2.127670541.1295891213.1536040679-65270402.1526147845#api/2/search-search
You should pass:
assignee = youruser
as the JQL parameter and you will get all issues, assigned to this user. Issues contain information about the project, they belong to.
Thanks, Alexey for the answer. This is useful. I will try it out.
I am new to Jira API, could you please tell me API to update user project and task information as well?
You can update a project with this Rest Api:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-api-3-project-projectIdOrKey-put
You can update an issue with this Rest Api:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-api-3-issue-issueIdOrKey-put
Thanks Alexey! These are useful information.
It looks like you're new here. Sign in or register to get started.