Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Create Issue with reporter as email - Jira API or PowerAutomate connecter


I am trying to integrate powervirtual agents (bot n ms365) with jira service management.

I am able to create jira tickets via api from info user provides to bot. However, the reporter field requires an account id, but I want to be able to set the reporter field by the email of the user that is creating the issue.

I have also tried the jira connector in power automate and it doesn't have option for reporter.

I can't seem to find a workaround for it, any suggestions you can provide are appreciated.



1 answer

Hi @Zain Ali 

I am not familiar with the integration that you are working on. But I am familiar with the REST API that you shared. You do not need to specify the Reporter id. By default, the user that you use to run the REST API will be the reporter of the newly created issue. Here is an example:

curl --request POST --url https://<domain> -u '<user-email>:<api-token>' --data '{"fields": {"summary": "Test the automation","issuetype": {"id": "10002"},"project": {"key": "IP"},"description": {"type": "doc","version": 1,"content": [{"type": "paragraph","content": [{"text": "This is the description.","type": "text"}]}]}}}' --header 'Accept: application/json' --header 'Content-Type: application/json' 

The user that you specified in <user-email> will be the Reporter of the newly created issue. Just make sure the user has Create Issue permission or the customer of your JSM portal.

I hope the above explanation helps!



Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

346 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you