Create ticket with "Blocker" priority

Hi,

I use UiPath.Jira.Activities

How to use “Create issue” and set the priority to other than the default?

I used an additional field and it unfortunately doesn’t work:

When I used the example “customer field”:
New Dictionary(Of String, String) From {{“Epic Link”, “PRJ-421” }} it works.
But in this New Dictionary(Of String, String) From {{“Priority”, “Blocker” }} it doesn’t work.
Error:
image

hi @Paulina_x ,

According to the Create Issue doc site: https://docs.uipath.com/activities/docs/jira-create-issue

The Additional Fields property, accepts a Dictionary containing key-value pairs for Jira fields.

Hope this helps. Happy automation!

Kind regards,
Kenneth

You may check the tutorial here:

Hope this helps. Happy automation!

Kind regards,
Kenneth

I can’t update issue. I need to create issue with proper priority.

Have you tried other values aside from “Blocker” like “High” or “Low”?

Yes, I tried. and unfortunately it doesn’t work either

I think it’s case-sensitive. Can you try to make it as “priority” and test again?

As the syntax for the PRIORITY field here is “priority”:
https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-fields-reference-939938743.html#Advancedsearchingfieldsreference-PriorityPriority

Hope this helps. Happy automation!

Kind regards,
Kenneth

image
image


In the case of Epic Link, it works, and I used this example:
New Dictionary(Of String, String) From {{“Epic Link”, “PRJ-421” }}
Of course, instead of the PRJ-421, I used something that fits in my jira

hi @Paulina_x,

Can you try this package instead? https://marketplace.uipath.com/listings/jira-software-integration

It was referenced by UiPath on this post: How to create a new project in jira using UiPath Jira activities - #5 by DanielaD

Hope this helps. Happy automation!

Kind regards,
Kenneth

I have problem with this because in “Jira Software Application Scope” API token must be a string, not a secure string.

I understand. Maybe it’s for security policy.

Hi Paulina_x,

You can convert secure string to string using an assign activity:
myStr =new System.Net.NetworkCredential(string.Empty, secureStr).Password

Also, from Jira_Software_Activities_User_Manual_v1.0.3.docx I found:

If you want to update:
{
“fields”: {
“priority”: {
“name”:“High”
},
“summary”: “Testing create issue”,
}
}

Corresponding value for the ‘Custom Fields Dictionary’ is:

New Dictionary (Of String, Object) From
{
{ “priority”, New Dictionary (Of String, Object) From
{
{“name”,“High”}}
},
{" summary", “Testing create issue” }
}
If you open in browser https://your-domain.atlassian.net/rest/api/3/issue/DEMO-1 you should get the json representation of the given issue (if you have the needed access).

I hope this helps.

Regards,
Daniela