I am using issuekey through getting transition fields .but here I am getting empty fields but workflow having manatory field.
/rest/api/3/issue/${issueKey}/transitions?expand=transitions.fields&transistionId=31
,
Response like below
INFO 13:07:57.107 6188a077-7285-4d25-b126-59450a9fddbb
getTransitionRequiredFields::
{
expand: ‘transitions’,
transitions: [
{
id: ‘11’,
name: ‘To Do’,
to: [Object],
hasScreen: false,
isGlobal: true,
isInitial: false,
isAvailable: true,
isConditional: false,
fields: {},
isLooped: false
},
{
id: ‘21’,
name: ‘In Progress’,
to: [Object],
hasScreen: false,
isGlobal: true,
isInitial: false,
isAvailable: true,
isConditional: false,
fields: {},
isLooped: false
},
{
id: ‘31’,
name: ‘Done’,
to: [Object],
hasScreen: false,
isGlobal: true,
isInitial: false,
isAvailable: true,
isConditional: false,
fields: {},
isLooped: false
}
]
}
INFO 13:07:57.116 6188a077-7285-4d25-b126-59450a9fddbb Mandatory fields for the Done transition: {}
but my project throw manatory field alert while moving to done transistion
Hi @Dhurgeswari The transition fields will show you the list of fields present on a transition screen (a little pop up you get when you change status to be able to fill in details on the field). It looks like you don't have a transition screen here, but the field is made mandatory on a validator or somewhere. Please check the configurations. Hope this helps!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.