Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Tempo Timesheets custom field in MutableIsssue object?

Karol Schmidt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2018

Hi,

I'm working on Jira plugin that creates and modifies Jira issues. I have no problem with setting most of issue fields except the one related to Tempo Timesheets.

 

I'm trying to set custom field value for Tempo Plugin field with the following operation:

mutableIssue.setCustomFieldValue(customField, paramValue);

but it looks like the method expects Account object only but I am able to get its ID only with Tempo Timesheets REST method.

 

I tried to gain the object with OptionsManager but it returns no element for Tempo Timesheets CustomField.

 

I checked that the getCustomFieldValue operation returns Account type value:

issue.getCustomFieldValue(customField)

Unfortunately Tempo Timesheets vendor does not provide API to create Account type objects.

 

Is it possible and what is the best method to set Tempo Timesheets custom field value with my plugin?

0 answers

Suggest an answer

Log in or Sign up to answer