Forums

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

Jira task Workflow

Artem Snisar November 5, 2022

When moving Task to “Done” pop-up window and ask the user to enter “work-log”

i tried to do it with the Workflow transition an made a screen but i cant make it only for task.

what is the solution for this?

2 answers

2 accepted

1 vote
Answer accepted
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2022

Hi @Artem Snisar 

It is possible to have more that one transition defined between the same workflow statuses that can have different behaviours

You can set a condition on each transition e.g. "Task Done" has condition  `IssueType = Task`,  "Done" has condition `IssueType != Task`

and define a different transition screen for each. Task Done can have Log Work fields present.

You can also add a validator to check the field "Time Spent" has had a value set to ensure work is logged.

Screenshot 2022-11-06 at 13.20.23.png

Artem Snisar November 6, 2022 edited

how can i make Jql query in condition at the workflow level?

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2022

You can search for project status

Project = "BLAH" and status in ("Done")
Artem Snisar November 6, 2022

but it has to be only when task issuetype is going to done, so first of all i cant make a condition in the workflow for that (or i cant find an option for that) and second of all i wont give me a  result of the pop up screen i need  

Artem Snisar November 6, 2022

image.png

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2022

Currently you have one transition going to Done. 
In my example you create a second transition called "Task Done" from Development Done to done. 
Do you know how to do that?

Edit the original transition and add a condition to check that issue type is not = Task to allow for all other issue types

Screenshot 2022-11-06 at 17.20.51.png

Edit the Task Done transition to check the issue type is only Task

Screenshot 2022-11-06 at 17.23.15.png

This will give you two paths to Done depending on issue type.

Once you have that, you can configure the Task Done transition to capture Work Logged. I'll add that step once you can get to this stage - assuming you'd like to try this out.

(Jira may not want to add a new transition to a workflow state with no exit transitions and will put up a misleading error about not able to add to a draft. Post back if that happens, there is a simple fix)

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2022
Artem Snisar November 6, 2022

Thanks mate you helped me alot!!! 

0 votes
Answer accepted
Rafael Costa
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.
November 5, 2022

I would do it like this:

  • I'll put a text field on this screen, to user type worklog. And I'll set a description to this field explaning the pattern to fill this field.
  • Then I'll set a validator in to check if field was filled in the worklog pattern (groovy script).
  • And lastly a post function to take this field, process and fill the worklog (worklog)
Artem Snisar November 6, 2022

but it has to be only when task issuetype is going to done

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events