Is issue object get the values from the database or context?

Bharadwaj Jannu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2013

I am using the issue object in the following way:

issue.getCustomFieldValue(cfm.getCustomFieldObjectByName("DRA1 Commit Phase"));

and also

in other way using parameters, a Map object, as

parameters.get("customfield_10600");

then issue object going to get the value from the context or database?

2 answers

1 accepted

0 votes
Answer accepted
Bharadwaj Jannu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2013

CustomField values are retrieved from the issue object based on the context.

For Workflow validations, if I try to retrieve the values I got from the form.

1 vote
Yilin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2013

Usually comes from the context excepte the first time will need to load from the database.

Bharadwaj Jannu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 2, 2013

Suppose if I am using in Workflow Validator how it works?

Suggest an answer

Log in or Sign up to answer