Jira Get Issue Activitiy

I’m using Jira scope inside that Get issue activity.

I’m creating a variable (getdata) to get an issue data of type Attlasian.jira issue in this there are some inbuild function to get the issue properties like summary, description, createdon, createdby…
but i need custom fields like project name, code etc…how to get that using the customfields property.

@AbarnaKalaiselvam

As per the field description it is a collection

So please try liek this jira.customFields("FieldName")

Or to know all the keys try jira.CistomFields.Keys

Cheers

I’m using this syntax
AllFields.CustomFields(“Project Name”).Values

this is my output
string[1]
{
“Design,Development and Implementation”
}

how to get as string?

@AbarnaKalaiselvam

Please try this

AllFields.CustomFields("Project Name").Values(0)

or

String.Join(",",AllFields.CustomFields("Project Name").Values)

cheers

@Anil_G yeah got it, thankyou

1 Like

@AbarnaKalaiselvam

Please close the topic if solved. Else happy to help

:slight_smile: Happy Automation

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.