We are looking for script runner/Groovy script to update the Sprint; Do you have sample script ?

Kalyanaraman Radhakrishnan April 17, 2019

We are using TFS4JIRA (Spartaz) applications to sync the issues from TFS to JIRA. 

We can able to update the JIRA (Fix Version/s) fields. But, We couldn't able to update the JIRA (Sprint) fields. Do you have any sample script ?

 

The script runner scope  :

 

  • Create a temporary filed jira_iteration_path in the JIRA
  • Sync the TFS (ITERATION PATH) to JIRA (jira_iteration_path)
  • Run the Script Runner to update the from JIRA  (jira_iteration_path) to JIRA (FIX Version/s) – Done
  • Run the Script Runner to update the from JIRA  (jira_iteration_path) to JIRA (Sprint) –  Looking for script.

 

 

Issue  : We had one issue that if the source (TFS) iteration path has only the future release such as (B2/5.2.25) and doesn’t have sprint, We can’t map the source (TFS) iteration path directly to the target (JIRA) Sprint.  First, we need to map the Source (TFS) Iteration Path to Target (JIRA) / jira_iteration_path and then, we need to copy the Release and sprint information to Fix Version/s and Sprint.  If the Sprint is empty in the jira_iteration_path , we shouldn’t copy to the JIRA(Sprint).

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events