Hello,
Is it possible with a jira automation rule to get a jira project property? You specify the project property key and you get the project property value. I already searched in the available smart values but didn't find anything.
Thanks
Try this, it will work
function getSummary() {
var key = this.JIRA.Issue.getIssueKey();
var summary;
AJS.$.ajax({
url: "/rest/api/2/issue/" + key,
type: 'get',
dataType: 'json',
async: false,
success: function(data) {
summary = data.fields.summary;
}
});
return summary;
};
getSummary();I am sure there is an easier way, but this surely works
Happy weekend!
I have already used this api to get the summary, but i thought there is some easy way to get it. Anyway's thanks for your reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not tried getSummary() yet?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried and not working, it not present in JIRA.Issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.