Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,675
Community Members
 
Community Events
184
Community Groups

Get time spent in linked tickets by group of user

Hello everyone,

 

I am stuck with a scenario. Please look into it below :

Scenario :

  • Task A : TA-01 is linked to 2 other tasks
    • Task B : TA-02
    • Task C : TA-03

 

There are 2 users belonging to 2 different groups:

  • User_A 
    • Group : Developer
  • User_B
    • Group : QA

 

Time log history against each task:

  • Task A
    • 6May2023 : User_B : 4H
  • Task B
    • 1May2023 : User_A : 2H
    • 2May2023 : User_A : 1H
  • Task C
    • 4May2023 : User_A : 5H
    • 5May2023 : User_B : 7H

 

As per the scenario above I am trying to figure out an automation on jira that when run on Task A on 7May2023 would would update 2 fields with following data :

  1. Total time logged by group 'QA' users in all linked tickets. Output should be 7H. This includes :
    1. Task C
      • 4May2023 : User_A : 5H
  2. Total time logged by group 'Developer' users in all linked tickets. Output should be 8H. This includes:
    1. Task B
      • 1May2023 : User_A : 2H
      • 2May2023 : User_A : 1H
    2. Task C
      • 4May2023 : User_A : 5H

 

Looking forward to any help.

 

Thank you,

Chirag.

 

1 answer

0 votes
Ken McClean
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 09, 2023

This feels like it would be pushing the limits of what automation is capable of.  Do you have ScriptRunner?  You might need to create some custom reporting.

Thank you for the response !

 

Sorry we don't have any ScriptRunner apps on our instance. Is there any other possible solution to this ?

 

Thank you,

Chirag.

Ken McClean
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 11, 2023

I mean, you could do it externally with a Python script, but that's getting pretty complicated.  I'm sure there are other extensions out there that would do it, but I'm not aware of them.  Sorry!

Ok thank you. I will keep looking.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events