Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12300

affectsVersion field cannot be updated via SOAP or XMLRPC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a bug
    • Medium
    • None
    • 3.7.2, 3.7.3, 3.7.4
    • None

    Description

      The following PERL script works for fixVersions but NOT affectsVersions:

      		my $jiraToken	= 	XMLRPC::Lite->proxy('http://jira.atlassian.com/rpc/xmlrpc');
      		my $authToken	= 	$jiraToken->call( "jira1.login", $user, $pass )->result();
      
      		my $call 	= 	$jiraToken->call("jira1.updateIssue", $authToken, "TST-9485",
      				  		{
      				  			"fixVersions" 	=> 	[SOAP::Data->type(string => "10330")]
      				  		}				  		
      				  	);
      
      
      		
      
      		$jiraToken->call("jira1.logout", $authToken);
      

      The same code but specifying affectsVersions:

      		my $jiraToken	= 	XMLRPC::Lite->proxy('http://jira.atlassian.com/rpc/xmlrpc');
      		my $authToken	= 	$jiraToken->call( "jira1.login", $user, $pass )->result();
      
      		my $call 	= 	$jiraToken->call("jira1.updateIssue", $authToken, "TST-9485",
      				  		{
      				  			"affectsVersions" 	=> 	[SOAP::Data->type(string => "10330")]
      				  		}				  		
      				  	);
      
      
      		
      
      		$jiraToken->call("jira1.logout", $authToken);
      

      Note: The same issue occurs using the equivalent SOAP calls in PERL.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              4dba35587546 James Kleist
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: