It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

can we add the logs associated to a Story or Work Item directly on the same csv? Or do you need to

 can we add the logs associated to a Story or Work Item directly on the same csv? Or do you need to import it separately once the Story or Work Item is created in Jira?

 

2 answers

0 votes

Can you elaborate?

By logs you mean the logged work? If so, would you be refering to just the time value or a complete list of "date, logged time, activities performed"?

For the second, more complete option, I've done something similar in the past consisting of creating a SIL custom field that collected every time logged the subtasks of an issue (that's where I logged the time, not the main issue) , then I could add this field as a column in the search screen and export it as .csv no problem.

In case it is of any help, allow me to share this solution.

string[] tareas = {key, subtasks(key)};

number n = arraySize(tareas);
number i = 0;

date inicio = key.created;
date fin = currentDate();

string[] WL;
number a = 0;

for(i=0;i<n;i=i+1){
    if(getWorklogsForIssues(inicio, fin, tareas[i])!=""){
        WL[a] = getWorklogsForIssues(inicio, fin, tareas[i]);
        a=a+1;
    }
}

return WL;

 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you