Created
February 4, 2022 11:19
-
-
Save palashkulsh/a2b8cf33bd5629bb432aa08df2164bf7 to your computer and use it in GitHub Desktop.
jira manipulation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jira jql epictask -j 1 | jq '.[] | "\(.key),\(.fields.summary),\(.fields.created),\(.fields.updated)"' |
df=pd.read_excel('/home/palashkulshreshtha/Downloads/CART-9324-timelines.xls')
df
fig = px.timeline(df, x_start="created", x_end="updated", y="summary")
fig.update_yaxes(autorange="reversed") # otherwise tasks are listed from the bottom up
fig.show()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for plotting using ganntt plotly
`import plotly.express as px
import pandas as pd
df = pd.DataFrame([
dict(Task="Job A", Start='2009-01-01', Finish='2009-02-28'),
dict(Task="Job B", Start='2009-03-05', Finish='2009-04-15'),
dict(Task="Job C", Start='2009-02-20', Finish='2009-05-30')
])
fig = px.timeline(df, x_start="Start", x_end="Finish", y="Task")
fig.update_yaxes(autorange="reversed") # otherwise tasks are listed from the bottom up
fig.show()`