Hello. I'm using the Custom Field Suite addon to create a custom field of the type "Jira Expressions field" and I would like to use the value of this field in a JQL query.
I'm trying to created a field that identifies the worklog entries generated after the start of the current sprint and now I would like to use this field in a Gadget on my dashboard to add the hours used, but I cannot access the value.
Currently the filter looks like this:
issue.worklogs?
.filter(c => c.created > issue.sprint.startDate)?
.reduce((result, worklogItem) =>
(result+worklogItem.timeSpent),0)
I also tried to create this way. The field was generated correctly but I can't read the data either:
issue.worklogs?
.filter(c => c.created > issue.sprint.startDate)?
.reduce((result, worklogItem) =>
result.set("Total",Number((result["Total"] || 0) + worklogItem.timeSpent))
,new Map())
On the screen it appears correctly:
And analyzing the JIRA return in the API I see this:
References:
Please can you help me to solve this problem?
Thank you very much!
Hi Nicolas!
Yes. I am waiting for my ticket to be answered.
I'm new to Jira and trying these customizations. That's why I was in doubt if it's a particularity of the addon or if I don't know how to use it in Jira.
Thank you!
@RAFAEL LEITE ANTONIO Welcome! Did you contacted the provider support team: https://marketplace.atlassian.com/vendors/1219251/caelor ?
Nicolas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicolas!
Yes. I am waiting for my ticket to be answered.
I'm new to Jira and trying these customizations. That's why I was in doubt if it's a particularity of the addon or if I don't know how to use it in Jira.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.