web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Jira - Create new issu...
Power Automate
Unanswered

Jira - Create new issue V2

(1) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I'm having an issue with Create a new issue V2. My Jira is connected correctly via API code and I do not receive any error messages.

 

When the list of Projects pulls through it only has a small proportion of those on the Jira instance and does not have the Project I am looking for. Does anyone know of a way around this or a specific criteria that needs to be entered in Jira or in Power Automate so that it will show on the Projects list?

 

Please see snapshot below Thanks in advance

 

MFL_UK_0-1666344496418.png

 

Categories:
I have the same question (0)
  • prameelaj Profile Picture
    26 on at

    I too have the same issue.  I am using v3.   I do not know what are the issue type fields it is looking for that needs to be added into Body section and what is the format for it.

     

    "message": "Issue fields are empty. Please ensure that all required fields is provided.", power automate

  • Thai_Nguyen_Dev Profile Picture
    14 on at

    Looking at the Jira Power Automate connector documentation (https://learn.microsoft.com/en-us/connectors/jira/) it seems to be a limitation of the Jira API

     

    In the section titled "Known Issues and Limitations" it provides the following line. 

    • As per the Jira API documentation, jira API returns maximum 50 projects, so top 50 projects will be listed under dropdown in actions/triggers.

    Is there an option to "Add a custom item" where you can then enter the project key? The project key is usually a unique string that you typically see as a prefix to the issues you create in that project. For example, for a project called account, Jira would typically automatically assign the project a key labelled "AC". When you create issues in this project you would typically see it as AC-1. 

  • prameelaj Profile Picture
    26 on at

    I tried by using custom item.  Below is the body content i am using

     

    "fields": {
    "issuetype": { "id": "@{items('Apply_to_each')?['ID']}" },
    "summary": "@{items('Apply_to_each')?['Title']}",
    "description": "@{items('Apply_to_each')?['Description']}",
    "reporter": { "id": "@{items('Apply_to_each')?['Author']}" },
    "priority": { "id": "@{items('Apply_to_each')?['khvl']}" },
    "labels": "Epic_Test",
    "assignee": { "id": "@{items('Apply_to_each')?['Assigned_x0020_SA']}" },
    "customfield_40000": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "text": "Occurs on all orders", "type": "text" } ] } ] }}

     

    I am getting below error:

     

    "message": "Payload is not a valid json.",
  • prameelaj Profile Picture
    26 on at

    Below is my updated Body.

    {"fields": {
    "issuetype": { "id": "@{items('Apply_to_each')?['ID']}" },
    "summary": "@{items('Apply_to_each')?['Title']}",
    "description": "@{items('Apply_to_each')?['Description']}",
    "reporter": { "id": "@{items('Apply_to_each')?['Author']}" },
    "priority": { "id": "@{items('Apply_to_each')?['khvl']}" },
    "labels": "Epic_Test",
    "assignee": { "id": "@{items('Apply_to_each')?['Assigned_x0020_SA']}" }
    }
    }

     

    Now I am getting below error:

     

    {
      "errorMessages": [],
      "errors": {
        "project": "Specify a valid project ID or key"
      }
    }
  • Thai_Nguyen_Dev Profile Picture
    14 on at

    I don't follow. We were discussing the limitations where Jira doesn't give a full list of its projects unless you use the Get Projects connector. 

     

    I'm new to this Jira connector as well. Are you still at the part where they ask for the project and issue type id?

  • prameelaj Profile Picture
    26 on at

    Thanks for letting me know about the limitations.  I am facing issue with the parameters to be assigned in create a new issue (v3)(preview) in my flow.

     

    I am getting below error;  Invalid issue type id.

     

    When I googled, I found below information.

     

     id | pname
    -------+--------------------------------
     10001 | Story
     10002 | Task
     10003 | Sub-task
     10004 | Bug
     10100 | Initiative
     10101 | Incident
     10102 | Service Request
     10103 | Service Request with Approvals
     10104 | Change
     10105 | Problem
     10000 | Epic
     10200 | New Feature
     10201 | Support

     

    I gave 10000 as Issue Type ID. But getting below error.

     

    {
      "errorMessages": [],
      "errors": {
        "issuetype": "The issue type selected is invalid."
      }
    }
  • prameelaj Profile Picture
    26 on at

    Finally fixed it.  Worked with the JIRA admin to find the exact issue type id and applied it..  It worked fine.  Thanks to everyone whoever provided the information above.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard