Question
ASB
NZ
Last activity: 1 Feb 2019 6:53 EST
JIRA Connector to Agile Workbench does not return any projects
I am using the Jira connector for agile workbench that is provided by exchange and i'm following the instructions that are outlined here
https://community.pega.com/knowledgebase/articles/integrating-agile-workbench-jira
However I don’t get any projects coming through and I have the following error in the logs
2018-10-03 18:21:36,547 [http-bio-443-exec-35] [TABTHREAD0] [ ] [ Sandbox:01.01.01] (nvoke.Rule_Connect_REST.Action) ERROR | Proprietary information hidden|Rule-Connect-REST.Pega-Int-ProjMgmt-Jira.JiraProjectsCRUD Matt - com.pega.pegarules.pub.services.InboundMappingException: Exception occurred while mapping incoming response to .GetJiraWIParamResultsList
I can hit the url directly and I get a proper response
[
{
"expand":"description,lead,issueTypes,url,projectKeys",
"self":"https://{myinstanceofjira}.atlassian.net/rest/api/2/project/10001",
"id":"10001",
"key":"SAN",
"name":"Sandbox",
"avatarUrls":{
"48x48":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?avatarId=10324",
"24x24":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?size=small&avatarId=10324",
"16x16":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?size=xsmall&avatarId=10324",
"32x32":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?size=medium&avatarId=10324"
},
I am using the Jira connector for agile workbench that is provided by exchange and i'm following the instructions that are outlined here
https://community.pega.com/knowledgebase/articles/integrating-agile-workbench-jira
However I don’t get any projects coming through and I have the following error in the logs
2018-10-03 18:21:36,547 [http-bio-443-exec-35] [TABTHREAD0] [ ] [ Sandbox:01.01.01] (nvoke.Rule_Connect_REST.Action) ERROR | Proprietary information hidden|Rule-Connect-REST.Pega-Int-ProjMgmt-Jira.JiraProjectsCRUD Matt - com.pega.pegarules.pub.services.InboundMappingException: Exception occurred while mapping incoming response to .GetJiraWIParamResultsList
I can hit the url directly and I get a proper response
[
{
"expand":"description,lead,issueTypes,url,projectKeys",
"self":"https://{myinstanceofjira}.atlassian.net/rest/api/2/project/10001",
"id":"10001",
"key":"SAN",
"name":"Sandbox",
"avatarUrls":{
"48x48":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?avatarId=10324",
"24x24":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?size=small&avatarId=10324",
"16x16":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?size=xsmall&avatarId=10324",
"32x32":"https://{myinstanceofjira}.atlassian.net/secure/projectavatar?size=medium&avatarId=10324"
},
"projectTypeKey":"software",
"simplified":true
}
]
Is there a bug in the Jira Connector?
***Updated by moderator: Lochan to update platform capability***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
For the section issue, I guess there is some section corruption (Generation issue) happening on import of component in some systems. If possible, You can revalidate and save the RULE-HTML-Section instances in JIRAIntegration , That should fix any issue like this.
Pegasystems Inc.
IN
Hi, Are you connecting to Cloud or on-premise hosted version of JIRA?
Could you please try enabling the setting as attached?
ASB
NZ
I'm trying to connect to the cloud instance of Jira from a cloud instance of Pega.
That setting is already enabled, see the attached image.
From tracing the connect rest call to Jira it looks like there are no projects being returned. The page CreateJiraPage is almost empty.
Pegasystems Inc.
IN
Hi,
From the response you posted, it looks like you have a project with id 10001 named Sandbox. For that to appear in the dropdown of projects, Override the activity GetJiraProjects in your application ruleset and uncheck the checkbox highlighted (In the default component ruleset , the checkbox is checked, please uncheck that). That should fix the issue. You need not check other suggestions below if this works.
If issue still persists, Try by creating a dummy story and dummy bug in your jira project. and then check the dropdown
If issue still persists, check the response of these queries and post here
https://{myinstanceofjira}.atlassian.net/rest/api/2/project?expand=issueTypes
https://{myinstanceofjira}.atlassian.net/rest/api/2/project
Pegasystems Inc.
US
Hi,
I'm working in an 8.1 Pega environment and trying to connect to a cloud Jira instance. I'm having the same issue as described above, where I can configure the integration, but it's telling me that there are no Jira projects, even though I've created two - and included a sample user story and a bug as well.
There's a newer GetJiraProjects rule (ruleset 01-01-04) that does not have the checkbox referred to in the posts above to check if the user stories or bugs are greater than 0, so I'm not overriding that in any form.
I get a response when I run both of these queries:
https://{myinstanceofjira}.atlassian.net/rest/api/2/project?expand=issueTypes
https://{myinstanceofjira}.atlassian.net/rest/api/2/project
E.g.
Hi,
I'm working in an 8.1 Pega environment and trying to connect to a cloud Jira instance. I'm having the same issue as described above, where I can configure the integration, but it's telling me that there are no Jira projects, even though I've created two - and included a sample user story and a bug as well.
There's a newer GetJiraProjects rule (ruleset 01-01-04) that does not have the checkbox referred to in the posts above to check if the user stories or bugs are greater than 0, so I'm not overriding that in any form.
I get a response when I run both of these queries:
https://{myinstanceofjira}.atlassian.net/rest/api/2/project?expand=issueTypes
https://{myinstanceofjira}.atlassian.net/rest/api/2/project
E.g.
[{"expand":"description,lead,issueTypes,url,projectKeys","self":"https://pegademo.atlassian.net/rest/api/2/project/10001","id":"10001","key":"NP","name":"New Project","avatarUrls":{"48x48":"https://pegademo.atlassian.net/secure/projectavatar?avatarId=10324","24x24":"https://pegademo.atlassian.net/secure/projectavatar?size=small&avatarId=10324","16x16":"https://pegademo.atlassian.net/secure/projectavatar?size=xsmall&avatarId=10324","32x32":"https://pegademo.atlassian.net/secure/projectavatar?size=medium&avatarId=10324"},"projectCategory":{"self":"https://pegademo.atlassian.net/rest/api/2/projectCategory/10000","id":"10000","name":"Scrum","description":"Scrum"},"projectTypeKey":"software","simplified":false,"style":"classic","isPrivate":false},{"expand":"description,lead,issueTypes,url,projectKeys","self":"https://pegademo.atlassian.net/rest/api/2/project/10000","id":"10000","key":"PD","name":"Pega Demo","avatarUrls":{"48x48":"https://pegademo.atlassian.net/secure/projectavatar?avatarId=10324","24x24":"https://pegademo.atlassian.net/secure/projectavatar?size=small&avatarId=10324","16x16":"https://pegademo.atlassian.net/secure/projectavatar?size=xsmall&avatarId=10324","32x32":"https://pegademo.atlassian.net/secure/projectavatar?size=medium&avatarId=10324"},"projectCategory":{"self":"https://pegademo.atlassian.net/rest/api/2/projectCategory/10000","id":"10000","name":"Scrum","description":"Scrum"},"projectTypeKey":"software","simplified":false,"style":"classic","isPrivate":false}]
Can you provide any guidance on what the issue might be?
Thank you.
-
Kensho Tsuchihashi Yoke Wei Yip Guangri Liang Guangri Liang Kensho Tsuchihashi and 1 More
Pegasystems Inc.
IN
Yes, We removed the dependency on bug and story being there, Hence you don't see that checkbox. So that's not the issue. I have 2 questions
1. Did you set the operator preference to admin
2. Could you please trace GetJiraProjects activity when you click the button Begin Integration, is it possible to save and share tracer logs? If not, Can you see what you see on step page before and after on step3, That would help in debugging the issue.
Pegasystems Inc.
US
Can you please clarify what you mean for #1?
I'm attaching the tracer logs as well for your reference.
Thank you.
Pegasystems Inc.
US
I was able to resolve this issue and get the JIRA projects to show up after completing the following steps:
1.) Updated Operator preferences to specify "admin" for Project Management User ID
2.) Navigate to pySetupApplicationIntegrationDetails rule --> Private Edit --> Save --> Discard. After this, my JIRA projects and versions appeared.
Express Scripts
US
I am facing the same issue but not worked for me. I don't see pySetupApplicationIntegrationDetails section rule, I am using Pega 8.1 version and JIRA component package for 8.1 version. After clicking on "Begin Integration" it's showing "Jira Project Name:Project does not exist.".
Pegasystems Inc.
US
Check the JiraIntegration:01-01-04 ruleset. It should be there. I'm attaching a screenshot for your reference from my 8.1 environment.
Express Scripts
US
Thank you, that worked. How to fix this permanently?
Accepted Solution
Pegasystems Inc.
IN
For the section issue, I guess there is some section corruption (Generation issue) happening on import of component in some systems. If possible, You can revalidate and save the RULE-HTML-Section instances in JIRAIntegration , That should fix any issue like this.
Express Scripts
US
Thank You for help. I could integrate JIRA.
Booz Allen Hamilton
US
I'm having the same problem of getting error, "Jira Project Name : Project does not exist." I found the pySetupApplciationIntegrationDetails JiraIntegration:01-01-04, but I don't have a Private Edit button. I am new to Pega, about 3 weeks. We are just trying to evaluate some of the tools in it.
Pegasystems Inc.
IN
Hi,
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.
ASB
NZ
Ok that solution works and i can now select the project and the version... but i get nothing on the next screen and no users stories are synced
Pegasystems Inc.
IN
Hi,
The sync which is shown on the modal while integrating is one way sync, Which is to export any local stories or bugs from Agile Workbench to JIRA system. I guess, you had none so nothing got exported.
Now coming to Agile workbench part
1. Are you able to see your JIRA stories in Agile workbench or not?
2. If not, Please confirm if that particular project+version combination in JIRA system has stories
3. In case, it does not have create one in JIRA and then refresh agile workbench and check if you see that story in Agile workbench now
4. In case the issue still persists, Please confirm following things
i) platform version you are using
ii) is there any customization in workflow in JIRA system