The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
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.
Thanks,
Zain
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>.atlassian.net/rest/api/3/issue -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!
Regards,
Marini
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 ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.