Activities


Connect to JIRA

This activity connects to the specified JIRA account and outputs a JIRA client connection.

Activity Parameters

The Connect to JIRA activity parameters can be provided by manual inserted values or via IN arguments or variables:

 

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

 

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables or input directly in the property field. E.g. "D00012" for Username property.


Disconnect from JIRA

This activity disconnects the specified JIRA account. 

Activity Parameters

The Disconnect from JIRA activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


Create Issue

This activity creates a new issue in JIRA.

Activity Parameters

The Create Issue activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


A common way to obtain additional information about the parameters required for this activity is provided as helper in this dummy project .

  


Here you will find the example powershell script of the screenshot below:

$credential = get-credential -Message "Please enter Jira credentials:" 
$BSTR = [System.Runtime.InteropServices.marshal]::SecureStringToBSTR($credential.Password) 
$jPassword = [System.Runtime.InteropServices.marshal]::PtrToStringAuto($BSTR) 
$jLogin = $credential.UserName.TrimStart("\") 
$bytes = [System.Text.Encoding]::UTF8.GetBytes("$jLogin`:$jPassword") 
$encodedCredentials = [System.Convert]::ToBase64String($bytes) 
  
$restapiuri = "https://flowster-solutions.atlassian.net/rest/api/2/issue/createmeta?projectKeys=SA&issuetypeNames=Bug&expand=projects.issuetypes.fields
$jsonresponse = Invoke-RestMethod -Uri $restapiuri -Headers @{"Authorization"="Basic $encodedCredentials"} -ContentType application/json -method get #-body $body 
$jsonresponse.projects 
$jsonresponse.projects.issuetypes.fields



The Read Only Output variable are the possible output values that the activity will provide:

 If you want to display the value of the string output parameters use any logging activity that displays string values. E.g. LogTrackData activity.

 


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for Connection property) or input directly in the property field ( E.g. "FLOWSTER" value for Project Key property).



Create User

This activity creates a new user account in JIRA.

Activity Parameters

The Create User activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

 If you want to display the value of the string output parameters use any logging activity that displays string values. E.g. LogTrackData activity.

 


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for Connection property) or input directly in the property field ( E.g. "Demo User" value for Display Name property).


NOTE: the username used to create the connection to the JIRA website must have rights to create users. (E.g. the user must have Administrative rights)

Delete Issue

This activity deletes a specified issue in JIRA.

Activity Parameters

The Delete Issue activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.IssueKey variable for 'Issue Key Or ID' property) or input directly in the property field. The value stored in IssueKey variable may be the output of Create Issue or Get Issues activities.

 NOTE: the username used to create the connection to the JIRA website must have rights to delete issues. (E.g. the user must have Administrative rights)


Delete User

This activity deletes a specified user account in JIRA.

Activity Parameters

The Delete User activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


 NOTE: the username used to create the connection to the JIRA website must have rights to delete users. (E.g. the user must have Administrative rights)

Create User

This activity creates a new user account in JIRA.

Activity Parameters

The Create User activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

 If you want to display the value of the string output parameters use any logging activity that displays string values. E.g. LogTrackData activity.

 


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for Connection property) or input directly in the property field ( E.g. "Demo User" value for Display Name property).


NOTE: the username used to create the connection to the JIRA website must have rights to create users. (E.g. the user must have Administrative rights)

Delete Issue

This activity deletes a specified issue in JIRA.

Activity Parameters

The Delete Issue activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.IssueKey variable for 'Issue Key Or ID' property) or input directly in the property field. The value stored in IssueKey variable may be the output of Create Issue or Get Issues activities.

 NOTE: the username used to create the connection to the JIRA website must have rights to delete issues. (E.g. the user must have Administrative rights)


Delete User

This activity deletes a specified user account in JIRA.

Activity Parameters

The Delete User activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


 NOTE: the username used to create the connection to the JIRA website must have rights to delete users. (E.g. the user must have Administrative rights)

Edit User

This activity edits a user account in JIRA.

Activity Parameters

The Edit User activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.UserKey variable for Existing User Key property) or input directly in the property field ( E.g. "Demo User Edited" value for Display Name property).


NOTE: the username used to create the connection to the JIRA website must have rights to edit users. (E.g. the user must have Administrative rights)

Get User

This activity retrieves a collection of user information for the existing JIRA account.

Activity Parameters

The Get User activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for 'Connection' property) or input directly in the property field (E.g "Demo User" value for 'Username' property).


Use the following workflow logic as example to iterate through a variable of type collection<collection<string>>. For more information on how to use Custom ForEach activity please check Workflow link.

  1. Add a CustomForEach activity of type string to iterate through the UserInfo collection of information.
  2. Add in the body of the CustomForEach sequence a logging activity, e.g. LogTrackData to display the string value of the Iterator.


 

Get Issues

This activity retrieves a collection of issues for the existing JIRA account.

Activity Parameters

The Get Issues activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for 'Connection' property) or input directly in the property field (E.g "FLOWSTER" value for 'Project Filter' property).


Use the following workflow logic as example to iterate through a variable of type collection<collection<string>>. For more information on how to use Custom ForEach activity please check Workflow link.

  1. Add a CustomForEach activity of type collection<string> to iterate through the main collection of Issues variable of type collection<collection<string>>.
  2. Rename the Iterator to a specific name. E.g. Iterator -> Issue
  3. Add inside the Issues - Properties Collection sequence a new CustomForEach activity of type <string> to iterate through each Issue which is the iterator of the main collection.
  4. Add in the body of the Display Property sequence a logging activity, e.g. LogTrackData to display the string value of the Iterator.


 


Get Projects

This activity retrieves a collection of projects for the existing JIRA account.

Activity Parameters

The Get Projects activity parameters can be provided by manual inserted values or via IN arguments or variables:


The Read Only Output variable are the possible output values that the activity will provide:

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for 'Connection' property).


Use the following workflow logic as example to iterate through a variable of type collection<collection<string>>. For more information on how to use Custom ForEach activity please check Workflow link.

  1. Add a CustomForEach activity of type collection<string> to iterate through the main collection of Projects variable of type collection<collection<string>>.
  2. Rename the Iterator to a specific name. E.g. Iterator -> Project
  3. Add inside the Projects - Properties Collection sequence a new CustomForEach activity of type <string> to iterate through each Project which is the iterator of the main collection.
  4. Add in the body of the Display Property sequence a logging activity, e.g. LogTrackData to display the string value of the Iterator.

 

 

List Users

This activity retrieves a collection of users with their specific infos. 

Activity Parameters

The List Users activity parameters can be provided by manual inserted values or via IN arguments or variables:


Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for 'Connection' property).


Use the following workflow logic as example to iterate through a variable of type collection<collection<string>>. For more information on how to use Custom ForEach activity please check Workflow link.

  1. Add a CustomForEach activity of type collection<string> to iterate through the main collection of ListUsers variable of type collection<collection<string>>.
  2. Rename the Iterator to a specific name. E.g. Iterator -> User
  3. Add inside the Users - Properties Collection sequence a new CustomForEach activity of type <string> to iterate through each User which is the iterator of the main collection.
  4. Add in the body of the Display User sequence a logging activity, e.g. LogTrackData to display the string value of the Iterator.

 

 

Resolve Issue

This activity resolves a specified issue in JIRA.

Activity Parameters

The Resolve Issue activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for 'Connection' property) or input directly in the property field (E.g. "FLOW-1200" for 'Issue Key Or ID' property).



Update Issue

This activity updates s specified issue in JIRA. Complete only the fields that need update.

Activity Parameters

The Update Issue activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


As mentioned above, the values for all the required parameters can be provided by IN arguments or variables ( E.g.JIRAConnection variable for Connection property) or input directly in the property field ( E.g. "FLOWSTER" value for Project Key property).