Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add a new work week field

Armand_Zhao November 21, 2023

Now, we have a request, to set up a dashboard, in order to trace the Jira weekly usage. So I wanna to create a new field to record the created work week number. Such as 'WW01‘ to 'WW52'

1 answer

0 votes
Ste Wright
Community Champion
November 21, 2023

Hi @Armand_Zhao 

Do you have Automation on your instance?

If yes, you could...

  • Create a Number field - eg. Week of Year
  • Populate it using Automation

---

The rule might look like this...

  • Trigger: Issue Created
  • Action: Edit Issue
    • Field = Week of Year
      • Value = {{now.format("w")}}

---

You could also move the value of Week of Year into a Select List if preferred (easier to use in a dashboard) - but given you're on Server, you'd need to...

  • Create a Select List field - eg. Week (Number)
  • Populate it using 52 IF/ELSE statements
    • Use the field above (also set through automation) as the comparison point or...
    • Use the smart value above, and advanced compare conditions

---

Let us know what you think!

Ste

Armand_Zhao November 21, 2023

Thanks for your guide, yes, we have Automation, I will try it

Ste Wright
Community Champion
November 22, 2023

Great! Let us know how it goes :)

Ste

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events