Forums

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

Need a way to restrict something

Hitesh
Contributor
May 2, 2023

Hello,

User cannot create the ticket if the follow conditions are not met.

I have these 2 fields called FieldX (Multi-line) and FieldY(single-line). 

- FieldX is not empty and field Y is not empty

- These both can be empty but they both cannot have value. 

- But either one can.

 

Please let me know how I can achieve this condition.

 

Thanks!

2 answers

1 vote
Deleted user
June 14, 2018

Hello @[deleted],

 

You can do it using JIRA Misc Workflow extensions for cloud add-on (use create issue post function). See this article : 

https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/120815650/Create+issue

 

Thanks,

Swathi

Deleted user
June 14, 2018

it seems like a good option. But i'll try to challenge you even further:

what if i want to be able to create the new issue from any possible status in the current issue?

meaning i want to create a new issue when AA-01 is in "open" and also when it is "in-progress" and also if it is in "resolved" etc.

i know i could create many transitions from each status to itself and use your plugin. but is there a better way?

Like Deleted user likes this
0 votes
Deleted user
June 14, 2018

Hi @[deleted],

 

Yes, you will be able to add this function at each transition. Post functions are available for any transition/state of the workflow.

Also, you may want to follow this article and see how to place the post functions (order)

 

Regards,

Swathi

Deleted user
June 14, 2018

thanks, so i'll need to do it per each state.

 

is there a solution not dependent on transitions?

Like Deleted user likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events