cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joey8922
Regular Visitor

How do I add Planner priority level to Issue Reporting app?

How can I customize the prebuilt Issue Reporting app to allow users to set the priority level when reporting an issue? The priority level corresponds to the presets in the Planner app (Urgent, Important, Medium, Low). Currently, users have to open the task in the Planner then assign a priority level.

 

I've only got as far as opening both the Manage Issues app and Issue Reporting app in the Teams' PowerApps app builder...

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @joey8922 ,

 

I made tests both in Dataverse for Teams and Power Apps studio, found that it is available to submit priority level only with action CreateTaskV4 of the Planner connector, however, this action is preview and only available in Power Apps studio or Power Automate, in Dataverse for Teams you could see there is only CreateTaskV3 instead.

 

Details of CreateTaskV4 action please refer to below doc:

https://docs.microsoft.com/en-us/connectors/planner/#create-a-task-(preview)

 

I believe that this preview action would be released to Dataverse for Teams in the future, so that it would easily achieve your need. I will leave the detailed steps about this scenario below so that you can modify the App at that time.

1\ On Issue Report Screen, add a section in cnvIssueReport. Add a Combo box with Items set to:

 

Table({Name:"Urgent",Value:"1"},{Name:"Important",Value:"3"},{Name:"Medium",Value:"5"},{Name:"Low",Value:"9"})

 

265.png

 

2\ Add another section, copy and paste the submit button in this Card.

266.png

 

3\ Remove the old submit Card from the screen.

 

4\ Add a parameter "appPriority" in the locNewTask variable:

 

appPriority:ComboBox1.Selected.Value,
//Combobox1 is the new added combo box name

 

267.png

 

5\ Modify below variable:

268.png

to:

 

UpdateContext(
    {
        locRecordPlannerTask: Planner.CreateTaskV4(
            gblPlannerGroupId,
            gblPlannerPlanId,
            locNewTask.appTitle,
            {
                bucketId: locNewTask.appBucket,
                startDateTime: locNewTask.appStart,
                dueDateTime: locNewTask.appDue,
                priority:locNewTask.appPriority
            }
        )
    }
);

 

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

4 REPLIES 4
v-jefferni
Community Support
Community Support

Hi @joey8922 ,

 

I made tests both in Dataverse for Teams and Power Apps studio, found that it is available to submit priority level only with action CreateTaskV4 of the Planner connector, however, this action is preview and only available in Power Apps studio or Power Automate, in Dataverse for Teams you could see there is only CreateTaskV3 instead.

 

Details of CreateTaskV4 action please refer to below doc:

https://docs.microsoft.com/en-us/connectors/planner/#create-a-task-(preview)

 

I believe that this preview action would be released to Dataverse for Teams in the future, so that it would easily achieve your need. I will leave the detailed steps about this scenario below so that you can modify the App at that time.

1\ On Issue Report Screen, add a section in cnvIssueReport. Add a Combo box with Items set to:

 

Table({Name:"Urgent",Value:"1"},{Name:"Important",Value:"3"},{Name:"Medium",Value:"5"},{Name:"Low",Value:"9"})

 

265.png

 

2\ Add another section, copy and paste the submit button in this Card.

266.png

 

3\ Remove the old submit Card from the screen.

 

4\ Add a parameter "appPriority" in the locNewTask variable:

 

appPriority:ComboBox1.Selected.Value,
//Combobox1 is the new added combo box name

 

267.png

 

5\ Modify below variable:

268.png

to:

 

UpdateContext(
    {
        locRecordPlannerTask: Planner.CreateTaskV4(
            gblPlannerGroupId,
            gblPlannerPlanId,
            locNewTask.appTitle,
            {
                bucketId: locNewTask.appBucket,
                startDateTime: locNewTask.appStart,
                dueDateTime: locNewTask.appDue,
                priority:locNewTask.appPriority
            }
        )
    }
);

 

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Remarkable support, THANK you! I shall bookmark this and wait until CreateTaskV4 is out for Teams.

How do I verify which version of a connector I'm using? Also, how might I be notified that the version is updated? Other than simply checking periodically.

Hi @joey8922 ,

 

You could check the action version via typing "V" after deleting V3 in the formula and see the prompts below, if there is the CreateTaskV4 action, then means it's available.

 

270.png

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (68,171)