JWT - Question about Linking/Auto-transitioning Issues Linked by a Custom Field

Issue #688 resolved
MAG-II created an issue

Hello Fidel -

I am having yet another problem with my project in JIRA. In the past, with JWT, you taught me how to auto-link Issues, and have them transition automatically. At the moment this works for me, but I am hoping to take it a step further.

In the below screens you can see a workflow for Open Position as well as Post Functions for the Potential Candidate workflow (2 different workflows). The Open Position workflow begins at Open. When an Issue is transitioned to Vacant, it will auto-transition to Filled when the linked Potential Candidate Issue finishes its workflow. This works great.

In the middle of my Potential Candidate workflow I have a transition screen that requires the user to choose a Vacancy (Open Position Issue) for the Potential Candidate. As you can see in the third screenshot, all of the Open Positions that I have created show up on this list. This means that I can choose Open Positions that are either on Open status or Vacant status.

My question is, on this required transition screen, is it possible to have only the Open Positions that are on Vacant status appear? At the moment I can't think of a way to limit the Open Positions that appear here based on their workflow status.

If you do have any ideas/advice I would be very grateful. Thanks in advance.

Comments (5)

  1. Fidel Castro Armario repo owner

    Hi @michaelgayheart,

    I think that question is more closely related with the add-on used for implementing field Vacancy, than with JIRA Workflow toolbox.

    In one of our previous conversations you showed me that Vacancy used a JQL query for selecting the issues to be shown. Have you tried simply to modify that JQL query for selecting only issues in status Vacant? You simply have to add a term like and status = Vacant.

  2. MAG-II reporter

    Fidel -

    You're absolutely right. All I needed to do was manipulate the JQL of the Query Custom Field. I learn something new about JIRA everyday - at times it can be easy to overlook things.

    Thank you so much for your help. Have a great rest of the week.

  3. Log in to comment