Agile Workbench Jira Integration with Custom Priorities
I'm trying to extend the Jira integration with Agile Workbench to include 7 custom priorities, instead of the 5 supported out of the box.
I updated the “SetSeverityFromJira” Decision Table to map the Jira Priority IDs to the Jira Priority Field values in the Pega-Agile-Work class. I'm attaching a screenshot for your reference.
I also extended several of the sections to include the additional priority values, such as pyUserStoryRowExtension, pyBugRowExtension, and JiraStarPriority and set the appropriate Star ratings/priority values in the data transforms within those sections.
So now I can create a new user story in Agile Workbench - and I see my 7 priority values there that I can select from. But if I select the 6th or 7th custom priority value and Save the user story, it reverts it back to the 1st priority value - and won't send that new user story back to Jira.
I looked through the Activities and Data Transforms and I didn't see anything obvious in terms of what I need to update to extend the integration to include the 2 new priorities.
Do I need to extend the 'GetPriorityForJira' Decision Table in the Pega-Agile-Work-UserStory class also? Is that passing the priority back to Jira? I only see 3 priority values there currently, so I'm not clear if that's the same "Priority" or something different.
Do you have any input to help?
***Edited by Moderator: Pallavi to update platform capability tags***
Thank you. I was able to get this working in my 8.1 environment.
Here is a high level overview on the steps to ensure the integration works, when the Jira IDs are custom (i.e. not 1 through 5):
- Update 'SetSeverityfromJira' Decision Table with Jira IDs
- Update 'GetPriorityForJira' decision tables in both the User Story and Bug class with Jira IDs
- Do a ‘Save As’ on the 'GetPriorityForJira' decision table above in the Pega-Agile-Work-UserStory class. Give it a new name and change the Applies to Class to “Embed-ProjectMgmt-Pagedata” and map the Priorities to your custom Jira IDs. Also, click on the Priority column in the decision table and change the Property to: .JiraFields.JiraPriority.JiraID
- Edit Activity 'UpdateJiraIssue' in the Pega-Agile-Work class to change the Decision Table Name in Step 5 to be the new Decision Table you updated in the Step above.
Keep up to date on this post and subscribe to comments