The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
  • Community
  • Q&A
  • Jira
  • Questions
  • Which backend table stores target start and target end custom field created using portfolio plugin?

Which backend table stores target start and target end custom field created using portfolio plugin?

Aman
April 8, 2023

I am looking for the database table which stores data for target start and target end custom field created using portfolio for Jira plugin

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Gisela Lassahn
Contributor
April 20, 2023

Hi Aman,

I had just the same question this morning and I think I've got the answer.

Please look at this article: 
How to view Advanced Roadmaps Target Start and Target End values in the database. | Jira | Atlassian Documentation

You have to convert the unix timestamp to a readable format.

There might be a more elegant way to do this, but for me it worked like this (for the target start and issue id 38760):

SELECT substr(from_unixtime((cast(x AS UNSIGNED)/1000)),1,10) AS targetstart
FROM (
SELECT substr(json_value,(LOCATE('"baseline_start"',json_value,1)+LENGTH("baseline_start")+4),13) AS x
from jiradb.entity_property ep
WHERE entity_name = 'IssueProperty'
AND property_key = 'jpo-issue-properties'
AND entity_id = 38760
and json_value like '%"baseline_start"%'
) s
Aman
April 20, 2023

Thank you Gisela, this worked like a charm. :D