How to create a new project in jira using UiPath Jira activities

What values to put in these 3 parameters when creating a new project in Jira using UiPath Jira activities?

  1. issueSecuritySchemeID
  2. permissionSchemeID
  3. categoryId

Hi Shetanshudhar,

Next week we’ll have a new release for Jira activities package. Version v1.0.2 will contain some additional activities and a bug fix for Create Project activity. This activity is not working as expected, in the new release the three parameters you highlighted will be removed (they are not mandatory).
I appologise for the delayed response and for the issue.

Thank you and Regards,
Daniela

2 Likes

Thanks Daniella. Much appreciated.

Wow :clap::clap::clap::clap::clap:

Thank you
Balamurugan.S

Hi Shetanshudhar,

Please find the new release for UiPath.JiraSoftware.Activities on UiPath GO:

Added new activities in 1.0.2:

  • Update Issue
  • Delete Issue Link
  • Get Issue Links

Updated activities:

  • Create Project (Bug Fix)
  • Create Issue (updated type for ‘Custom Fields Dictionary’ optional param)

Please check the updated User Manual for info on the activities. The User manual can be downloaded from the same location, Resources tab.

Thank you,
Daniela

1 Like

Hi Daniella,
Thank you very much. This is a huge help. Much appreciated.

1 Like

hi Daniela
get projects activity in jira is not working properly in fetching the names of all projects.
can u tell me what was the problem.

Thanks and Regards
Manikanta

Hi Manikantap,

Thank you for your feedback. You are right, ‘Get Projects’ activity returns maximum 50 projects. The issue was caused by using the API for ‘Get projects paginated’ and not ‘Get all projects’ (which is deprecated). We’ll fix this issue in the next release next week.

Thank you and Regards,
Daniela

1 Like

thank you for your response Daniela.

Also one more issue regarding get project Components Activity,could you please check

Thanks and regards
Manikanta

Hi Manikantap,

Please elaborate on the issue you have with “Get Project Components” Activity. You should be able to obtain all the components for the project. Permissions required: Browse Projects project permission for the project.

Also, regarding the issue you reported with “get projects activity in jira is not working properly in fetching the names of all projects”, could you please tell me if the user had more than 50 projects with ‘Browse Projects project permission’ that should have been retrieved and the result was only 50 projects (because of the pagination issue that I found)? If not, it might be a permission issue as well.

Thank you,
Daniela

Hi DanielaD,
i had all the permissions but i was unable to fetch even two projects names . Can u tell me the procedure once

Thanks and Regards,
Manikanta

Hi Manikanta,

The steps to extract the project names are:

  1. Use ‘Jira Application Scope’ activity ( configure username, server URL, apiToken) and inside the scope use ‘Get Projects’ activity

Capture1

  1. Create an output variable for the result of ‘Get Projects’ activity using Ctrl + K, name it ProjectsArray (the created variable is an array of UiPath.JiraSoftware.Models.Project objects)

Capture2

  1. Use Foreach activity to loop through the array of objects of type Project

  1. Important: Change the type of the item in Foreach activity from "Object’ into
    'UiPath.JiraSoftware.Models.Project

Capture4

  1. Use a log message activity inside the foreach to display the project name (item.Name). You have access to other properties beside project name (project key, project style, self, etc)

In Jira activities package the ‘Get All’ activities (Get Issues, Get Projects, Get Comments, Get Attachments) return an array of objects which can be used in a Foreach activity (very important to change the type of the item inside the Foreach activity) in order to access the Issue/Project/Attachment properties.

I hope this is helpful,
Daniela

2 Likes

Hi DanielaD,
Thank you very much. This is a huge help. Much appreciated.

1 Like

hi DanielaD,
Is there any process to fetch our sprint report through uipath from jira and displaying them.

Thanks and Regards,
Manikanta.

Hi Manikantap,

For information regarding Sprints you need to use Jira Agile API ( https://docs.atlassian.com/jira-software/REST/7.0.4/ ), not Jira Software API used by JiraSoftware Activities Package ( https://developer.atlassian.com/cloud/jira/platform/rest/v3/ ).

You can use Jira Agile API with HTTP Request Activity (from UiPath.Web.Activities package) to obtain the needed information.

Regards,
Daniela

1 Like

Hi,

Please find the new release for UiPath.JiraSoftware.Activities on UiPath Marketplace:

Added new activities in 1.0.3:

  • Delete Project

Updated activities:

  • Get projects (added StartAt parameter)

  • Assign Issue and Create Project - due to API changes (‘accountId’ must be the only user identifying query parameter in GDPR strict mode)

Thank you,
Daniela

Hi Daniela,

How can i get authenticate with JIRA URL in JIRA Get Application Scope . For example, I want authenticate below url in JIRA get application scope.I don’t have atlassian URL. When I am trying to authenticate JIRA with below listed parameters, I am getting “Invalid connection error”.

URL Used : https://jira.supplychain.nhs.uk/
User name: JIRA login Username
Password : JIRA login Password

and tried atlassian Token API and Username with above url. Then also getting “Invalid connect error”

URL Used : https://jira.supplychain.nhs.uk/
User name: Atlassian login email id
Token API : Token API generated in Atlassian


Hi Stalin,

Presuming you have an issue “ABC-2”, you should be able to see in browser the json representation of the issue:

https://jira.supplychain.nhs.uk/rest/api/2/ABC-2

Can you check that you do have access to this?

Please check the link below, the URIs for resources have the following structure

https:///rest/api/3/ - API v3 works only for Jira Cloud
or
https:///rest/api/2/ - API v2 works also for Jira on Prem

https://developer.atlassian.com/cloud/jira/platform/rest/v3/?_ga=2.37633890.395883481.1590391901-1391150629.1589463216#id105760

If you don’t have access to the resources, could be a security thing, maybe the admin disabled the access to it?

Regards,
Daniela

Hello Daniela,

I have the same problem as Stalin, when using Jira on Prem, because uipath generate automatically the link with the “3” , if I may use the example above it would be: https://jira.supplychain.nhs.uk/rest/api/3/ABC-2.
When I paste the same link in the browser I receive the same error, as in uipath Studio, namely “ups you’ve found a dead link”. When I replace the “3” with “2” (for example: https://jira.supplychain.nhs.uk/rest/api/2/ABC-2) then I can open jira.
I am the admin of my jira, so I have enable all permissions for my user.
For my test case I’ve created Jira Cloud and the authentication worked, but actually I need a solution for Jira Server.
Can you help me with it?

Thank you in advance!

Hello Kristina,

I can confim that https://connect.uipath.com/marketplace/components/jira-software-integration uses API v3 and does not work with Jira on Prem (as is specified in the User Manual). Did you try this newer component instead https://connect.uipath.com/marketplace/components/jira ?

Thank you and Regards,
Daniela