Forums

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

Requesting field input when an issue is created on transition

Alex Larini
Contributor
February 2, 2023

Hi everybody.

In my company we'd like to use Jira to track our cloud infrastructure costs.
We want the user working on an issue\task, to be able to record costs (e.g. the deployement of a new machine) with a click or so.
We're not using Service Manager or other ticketing add ons, therefore at the moment we're looking for a workaround with what Jira Cloud provides.

What I've done:

I've created a new "In progress" state, and a loop transition that goes back to it. This way we have a quick button at the top of the issue.
I've then created an automation, being triggered when an issue goes from "in progress" to "in progress", which creates a new jira issue ("Cost Request" type) with the cost details (and its own workflow with notifications etc)

PROBLEM:

That cost request have required fields that can't be found in the original issue (i.e. Estimated cost and other details).

How can I ask the user to fill in those fields during the issue creation?

For what I've understood adding a screen on the transition is only useful to change the original issue fields, but I'd like to see something like a creation sceen for the new one.

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Dave Mathijs
Community Champion
February 2, 2023

Hi @Alex Larini 

Adding the fields to the current transition screen and making them required via a validator is the best option in my opinion.

You can add the same fields as the create issue screen, so I don't see any difference there.

Alex Larini
Contributor
February 2, 2023

Thanks for your reply.

Just to be clear,  I want those fields (cost approver, estimated amount, etc) to be only in the new issue (issue type Request), not in the original task (normal task issue type) where the actual work is done, and from which multiple requests may come.

What I did meanwhile is:

- Transition loop to\from "in progress" state

- Transition with screen, with those fields (that are Required in the Request issue type, not in the original task)

- Automation triggered by the transition loop, creating the new Request issue, filling in those cost fields by copying the values from the triggering task

- Automation second step that clears those fields in the triggering task

 

It does seem to work but any suggestion is more than welcome :)

Suggest an answer

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

Atlassian Community Events