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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

"Start Work in JIRA and activate task" not enabled, even though time tracking in Mylyn is on

I've tried to enable the time tracking option for the Jira connector for Mylyn. In the Mylyn preferences, I have checked the box for "Track time in Eclipse when task is active". However, the button to "Start work in Jira and activate task" is disabled for my tasks (greyed out). I cannot figure out how to enable this or why it is not allowing me to select it. Anyone have any idea?

Thanks,

Brian

1 answer

1 accepted

0 votes
Answer accepted

Hi Brian,

The 'start work' button is available under few conditions. Issue must be in 'progress' or in 'stop' state. Those states come from JIRA default workflow. If you have modified your workflow heavily then it will not work for you. Here is the code:

IN_PROGRESS_STATUS = "3"

START_PROGRESS_OPERATION = "4"

STOP_PROGRESS_OPERATION = "301";

OPEN_STATUS = "1"

protected static boolean isTaskInProgress(TaskData taskData, ITask task) {
return isAssignedToMe(taskData, task) && isInProgressState(taskData) && haveStopProgressOperation(taskData);
}

protected static boolean isTaskInStop(TaskData taskData, ITask task) {
if (isAssignedToMe(taskData, task) && haveStartProgressOperation(taskData)) {
return true;
} else if (!isAssignedToMe(taskData, task) && isInOpenState(taskData)) {
return true;
}

return false;
}

Cheers,

Jacek

@Jacek, Is it possible to put a custom workflow step into 'progress' or 'stop' state? I have a 'Code Complete' step with an outgoing transition of 'In Progress', but I can't Start Work from Eclipse.

Hi,

Your 'Code Complete' step should contain transition to 'In Progress' but that should be a default JIRA transition with ID=4 (START_PROGRESS_OPERATION = "4"). In such case the 'Start Work' button should be enabled.

Thank you for your response! Yes, the transition to "In Progress" exists from "Code Complete" and I have verified this by tranistioning a test issue in Jira from "Code Complete" to "In Progress" successfully. However, the "Start Work" button is disabled when a Jira issue is in "Code Complete" status. Is there anything else I might be able to do to resolve this? Thank you!

Most probably your transition from "Code Complete" to "In Progress" is not a standard "Start Progress" transition and has ID different from "4". That is not supported unfortunatelly.

Supporting this kind of stuff would require building a configuration where users could define their "In Progress" state. It is not planned at the moment.

Cheers,
Jacek

I am very relieved to report that I resolved this problem. I learned from this issue - https://answers.atlassian.com/questions/29496/how-to-add-default-start-progress-transition- that I could reuse the Start Progress (ID 4) transition in Diagram mode. Once I hooked this up, my Start Work option was enabled for all my custom statuses. Yay!

Unfortunately, this has stopped working! Although everything is still set up the same way, the Start Work option is disabled again when the issue is in a custom status, even though the status is linked to the "New" state and the "In Progress" transition has ID 4. Any ideas?

If issue is in custom status then in order to have the 'start work' button enabled two conditions must happen:

  • Issue must be assigned to you
  • There must be Start Progress transition available (standard JIRA transition with id=301)

I'm not sure at the momement why the first bullet exist. We could consider removing this condition.

if (isAssignedToMe(taskData, task) && haveStartProgressOperation(taskData)) {
return true;}

yes it is possible to change the any  jira status in eclipse , steps are

 

click on your issue - then click on action  button, below you will find  all status then change your status accordingly.

 

regards

shekar.k

i have another solution also , 

that is get jira in eclipse by clicking on jira issue in eclipse you will find  open with web browser option just click on that , your jira login dashboard will appear , then change the status same as jira.

check  this Screenshot (30).png

 

regards

shekar.k

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